Skip to content

Commit 1b6ce6a

Browse files
committed
disable print function
1 parent 4e293ad commit 1b6ce6a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/compiler/func.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,6 @@ func (c *Compiler) compileCallNode(v *parser.CallNode) value.Value {
425425
return c.capFuncCall(v)
426426
case "append":
427427
return c.appendFuncCall(v)
428-
case "print":
429-
return c.printFuncCall(v)
430428
case "panic":
431429
message, _ := v.Arguments[0].(*parser.ConstantNode)
432430
c.panic(c.contextBlock, message.ValueStr)

0 commit comments

Comments
 (0)