Let the user know the arity of a missing method in the error message.

This commit is contained in:
Gavin Schulz
2015-01-04 14:42:11 -05:00
parent c25cfca18b
commit 7f90485cff
10 changed files with 64 additions and 16 deletions
@@ -4,4 +4,4 @@ class Foo {
class Bar is Foo {}
Bar.methodOnFoo // expect runtime error: Bar metaclass does not implement method 'methodOnFoo'.
Bar.methodOnFoo // expect runtime error: Bar metaclass does not implement method 'methodOnFoo' with 0 arguments.