diff --git a/src/Draco.Compiler/Api/Syntax/SyntaxFactory.cs b/src/Draco.Compiler/Api/Syntax/SyntaxFactory.cs index d783fba93..0db8a485b 100644 --- a/src/Draco.Compiler/Api/Syntax/SyntaxFactory.cs +++ b/src/Draco.Compiler/Api/Syntax/SyntaxFactory.cs @@ -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,