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,3 +1,3 @@
class Foo {}
(new Foo).someUnknownMethod(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) // expect runtime error: Foo does not implement method 'someUnknownMethod' with 11 arguments.
(new Foo).someUnknownMethod(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) // expect runtime error: Foo does not implement 'someUnknownMethod(_,_,_,_,_,_,_,_,_,_,_)'.