Skip to content

Commit df393a9

Browse files
committed
Add todo.
1 parent fae547d commit df393a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/UnityUxmlGenerator/UxmlGenerator.Widgets.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ private static FieldDeclarationSyntax FieldWidget(
164164
{
165165
var variableDeclaration = VariableDeclarator(Identifier(identifier));
166166

167+
// TODO: Change to BaseObjectCreationExpressionSyntax.
167168
if (initializer is not null)
168169
{
169170
variableDeclaration = variableDeclaration.WithInitializer(EqualsValueClause(ImplicitObjectCreationExpression()

0 commit comments

Comments
 (0)