☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
class-include-as-duplicate2.txtar
☽
☼
lang/interpret_test/TestAstFunc2/class-include-as-duplicate2.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
class c1($s) {
3
$x = "got: ${s}"
4
}
5
6
include c1("hey") as i1
7
include c1("there") as i1
8
test "${i1.x}" {}
9
-- OUTPUT --
10
# err: errSetScope: could not generate ordering: duplicate assignment to `scoped:i1`, have: include(c1)