Fixed: don't redeclare the builtin.

This commit is contained in:
arookas 2015-12-27 21:00:21 -05:00
parent 8f9e8b75f5
commit 063a092730

View file

@ -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);
}