lang/interpret_test/TestAstFunc2/class-capture7.txtar
raw| 1 | -- main.mcl -- |
| 2 | class foo { |
| 3 | test "t1" {} |
| 4 | class bar { # unused definition |
| 5 | test "t0" {} |
| 6 | } |
| 7 | } |
| 8 | include foo |
| 9 | # This sort of thing is not currently supported, and not sure if it ever will. |
| 10 | include bar # nope! |
| 11 | -- OUTPUT -- |
| 12 | # err: errSetScope: class `bar` does not exist in this scope |