Files
mgmt/lang/interpret_test/TestAstFunc2/invalid-function-call/main.mcl
2019-07-20 22:27:21 -04:00

11 lines
118 B
Plaintext

import "fmt"
# function expression
$notfn = 42
$x = $notfn(7)
print "msg" {
msg => fmt.printf("notfn: %d", $x),
}