From 063a092730686a7e355c1c27cf47d4e6de1d1549 Mon Sep 17 00:00:00 2001 From: arookas Date: Sun, 27 Dec 2015 21:00:21 -0500 Subject: [PATCH] Fixed: don't redeclare the builtin. --- ssc/ast/nodes.system.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }