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.
3 lines
93 B
Plaintext
3 lines
93 B
Plaintext
class Foo {}
|
|
|
|
Foo.bar // expect runtime error: Foo metaclass does not implement method 'bar'. |