☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
class-capture5.txtar
☽
☼
lang/interpret_test/TestAstFunc2/class-capture5.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
$x1 = "bad1"
3
class foo($x1, $x2) {
4
test ["t1: " + $x2,] {} # swapped
5
test ["t2: " + $x1,] {}
6
}
7
include foo($x2, "t1")
8
$x2 = "t2"
9
-- OUTPUT --
10
Vertex: test[t1: t1]
11
Vertex: test[t2: t2]