Let the user know the arity of a missing method in the error message.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Base {}
|
||||
|
||||
class Derived is Base {
|
||||
foo { super.doesNotExist } // expect runtime error: Base does not implement method 'doesNotExist'.
|
||||
foo { super.doesNotExist } // expect runtime error: Base does not implement method 'doesNotExist' with 0 arguments.
|
||||
}
|
||||
|
||||
(new Derived).foo
|
||||
|
||||
Reference in New Issue
Block a user