typecheck: diagnose compatibility method unknown fields
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CLASS Player
|
||||
HAS score NUMBER
|
||||
|
||||
TEACH train TAKES value
|
||||
SET level value + 1
|
||||
LEARNED
|
||||
ENDCLASS
|
||||
|
||||
NEW Player player
|
||||
CALL player.train WITH 1
|
||||
Reference in New Issue
Block a user