Let the user know the arity of a missing method in the error message.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class Foo {}
|
||||
|
||||
(new Foo).someUnknownMethod(1) // expect runtime error: Foo does not implement method 'someUnknownMethod' with 1 argument.
|
||||
Reference in New Issue
Block a user