Skip to content

Commit

Permalink
Update SyntaxFactory.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Nov 3, 2024
1 parent 7072883 commit 9482eba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Draco.Compiler/Api/Syntax/SyntaxFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,11 @@ public static VariableDeclarationSyntax VarDeclaration(
attributes: [],
visibility: visibility,
isGlobal: false,
false, true, name, type, value);
isField: false,
isMutable: true,
name: name,
type: type,
value: value);

public static VariableDeclarationSyntax FieldValDeclaration(
Visibility? visibility,
Expand Down

0 comments on commit 9482eba

Please sign in to comment.