feat: diagnose method calls before object creation

This commit is contained in:
Hermes Agent
2026-08-11 03:03:05 +00:00
parent a3c084ba70
commit 40f7881afd
7 changed files with 44 additions and 3 deletions
@@ -0,0 +1,10 @@
CLASS Player
HAS score NUMBER
TEACH add points
CHECK TYPE points IS NUMBER
SET score score + points
END
END
DO player.add 5