diff --git a/ssc/ast/nodes.system.cs b/ssc/ast/nodes.system.cs index 0cc14c7..3985868 100644 --- a/ssc/ast/nodes.system.cs +++ b/ssc/ast/nodes.system.cs @@ -92,7 +92,7 @@ public override void Compile(sunContext context) { - var builtinInfo = context.DeclareSystemBuiltin("int", false, "x"); + var builtinInfo = context.ResolveSystemBuiltin("int"); Argument.Compile(context); context.Text.CallBuiltin(builtinInfo.Index, 1); }