☰
Debian Codegraph
@
1.5.5.8-1
/
/
src
/
test
/
06-Errors
/
error-super-static.ck
☽
☼
src/test/06-Errors/error-super-static.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
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
}