Fixed: don't redeclare the builtin.
This commit is contained in:
parent
8f9e8b75f5
commit
063a092730
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue