Use more comprehensive signature strings for methods.

This commit is contained in:
Bob Nystrom
2015-02-26 21:56:15 -08:00
parent e007bb7f11
commit 1aaa8cff52
15 changed files with 343 additions and 253 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
class Base {}
class Derived is Base {
foo { super.doesNotExist } // expect runtime error: Base does not implement method 'doesNotExist' with 0 arguments.
foo { super.doesNotExist(1) } // expect runtime error: Base does not implement 'doesNotExist(_)'.
}
(new Derived).foo