typecheck: diagnose unknown method field annotations

This commit is contained in:
Hermes Agent
2026-09-15 15:02:58 +00:00
parent 88c684da37
commit 304c43ba45
8 changed files with 25 additions and 1 deletions
@@ -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