☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
class-shadowing1.txtar
☽
☼
lang/interpret_test/TestAstFunc2/class-shadowing1.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
$msg = "a"
3
class shadowme($msg) {
4
$msg = "c"
5
if true {
6
$msg = "d" # this is used!
7
test "${msg}" {}
8
}
9
}
10
11
include shadowme("b")
12
-- OUTPUT --
13
Vertex: test[d]