Debian Codegraph @

src/test/06-Errors/error-super-static.ck

raw
1 class X
2 {
3 fun void boo() { }
4 }
5
6 class Y extends X
7 {
8 fun static void noo()
9 {
10 // super can only be used from non-static contexts
11 super.foo();
12 }
13 }