| 1 |
-- main.mcl -- |
| 2 |
import "fmt" |
| 3 |
|
| 4 |
include c1([13, 42, 0, -37,]) |
| 5 |
class c1($b) { |
| 6 |
test [fmt.printf("len is: %d", len($b)),] {} # len is 4 |
| 7 |
} |
| 8 |
-- OUTPUT -- |
| 9 |
Edge: FuncValue -> call # fn |
| 10 |
Edge: FuncValue -> call # fn |
| 11 |
Edge: call -> composite # 0 |
| 12 |
Edge: const -> composite # 0 |
| 13 |
Edge: const -> composite # 1 |
| 14 |
Edge: const -> composite # 2 |
| 15 |
Edge: const -> composite # 3 |
| 16 |
Vertex: FuncValue |
| 17 |
Vertex: FuncValue |
| 18 |
Vertex: call |
| 19 |
Vertex: call |
| 20 |
Vertex: composite |
| 21 |
Vertex: composite |
| 22 |
Vertex: const |
| 23 |
Vertex: const |
| 24 |
Vertex: const |
| 25 |
Vertex: const |
| 26 |
Vertex: const |