cl: compileFunction if not exists

This commit is contained in:
xushiwei
2024-05-06 18:30:53 +08:00
parent cffb5e9539
commit da20aea408
3 changed files with 32 additions and 17 deletions

View File

@@ -5,6 +5,9 @@ import (
)
func main() {
func(n1, n2 int) {
c.Printf(c.Str("%d %d\n"), n1, n2)
}(100, 200)
fn1 := func(n1, n2 int) {
c.Printf(c.Str("%d %d\n"), n1, n2)
}