typecheck: diagnose unknown method field annotations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CLASS Player
|
||||
HAS score NUMBER
|
||||
|
||||
TEACH set_score
|
||||
SET score AS BANANA TO 10
|
||||
END
|
||||
END
|
||||
|
||||
NEW Player player
|
||||
DO player.set_score
|
||||
Reference in New Issue
Block a user