More tests for super calls.

This commit is contained in:
Bob Nystrom
2014-04-19 11:51:36 -07:00
parent 48dab5323d
commit 09c707e16a
3 changed files with 27 additions and 1 deletions
+7
View File
@@ -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