typecheck: diagnose unknown method check fields

This commit is contained in:
Hermes Agent
2026-09-14 07:36:08 +00:00
parent ae6c261156
commit 7064343cee
6 changed files with 18 additions and 3 deletions
@@ -0,0 +1,10 @@
CLASS Player
HAS score NUMBER
TEACH train
CHECK TYPE level IS NUMBER
END
END
NEW Player player
DO player.train