☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
scope-ordering-dag1.txtar
☽
☼
lang/interpret_test/TestAstFunc2/scope-ordering-dag1.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
# test that ordering works and doesn't produce a dag in this tricky scenario
3
class foo() {
4
$x = "hello"
5
$y = $x
6
test [$y + "a",] {}
7
}
8
include foo() as c
9
$x = $c.y
10
test [$x + "b",] {}
11
-- OUTPUT --
12
Vertex: test[helloa]
13
Vertex: test[hellob]