Changed phrasing, fixed and added a test.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class Foo {}
|
||||
|
||||
(new Foo).someUnknownMethod // expect runtime error: Receiver does not implement method 'someUnknownMethod'.
|
||||
(new Foo).someUnknownMethod // expect runtime error: Foo does not implement method 'someUnknownMethod'.
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
class Foo {}
|
||||
|
||||
Foo.bar // expect runtime error: Foo metaclass does not implement method 'bar'.
|
||||
Reference in New Issue
Block a user