More tests for super calls.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Base {}
|
||||
|
||||
class Derived is Base {
|
||||
foo { super.doesNotExist } // expect runtime error: Base does not implement method 'doesNotExist'.
|
||||
}
|
||||
|
||||
(new Derived).foo
|
||||
Reference in New Issue
Block a user