Let the user know the arity of a missing method in the error message.
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ var fiber = new Fiber {
|
||||
|
||||
IO.print(fiber.try)
|
||||
// expect: before
|
||||
// expect: Bool does not implement method 'unknownMethod'.
|
||||
// expect: Bool does not implement method 'unknownMethod' with 0 arguments.
|
||||
IO.print("after try") // expect: after try
|
||||
|
||||
Reference in New Issue
Block a user