Debian Codegraph @

lang/interpret_test/TestAstFunc2/class-include-as-lambda0.txtar

raw
1 -- main.mcl --
2 class c1 {
3 test "t1" {}
4 $f1 = func() {
5 "hello"
6 }
7 }
8 include c1 as i1
9
10 $name = $i1.f1()
11
12 test "${name}" {}
13 -- OUTPUT --
14 Vertex: test[hello]
15 Vertex: test[t1]