Debian Codegraph @

lang/interpret_test/TestAstFunc2/class-include-as-duplicate2.txtar

raw
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)