The error message for unimplemented methods previously included the word "Receiver" before the class name, which was redundant and inconsistent with other error messages. Updated the format string in `methodNotFound()` to drop "Receiver" and use the class name directly. Added a new test case for static method not found errors and updated existing test expectations to match the new message format.
4 lines
118 B
Plaintext
4 lines
118 B
Plaintext
class Foo {}
|
|
|
|
(new Foo).someUnknownMethod // expect runtime error: Foo does not implement method 'someUnknownMethod'.
|