Changed phrasing, fixed and added a test.

This commit is contained in:
Kyle Marek-Spartz
2014-02-23 21:53:49 -06:00
parent 9f05e0d045
commit df4c1fa6b2
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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'.
+3
View File
@@ -0,0 +1,3 @@
class Foo {}
Foo.bar // expect runtime error: Foo metaclass does not implement method 'bar'.