typecheck: preserve fields after methods

This commit is contained in:
Hermes Agent
2026-09-02 09:56:18 +00:00
parent b8385f675a
commit 3173eafb36
7 changed files with 59 additions and 5 deletions
@@ -0,0 +1,10 @@
CLASS Player
TEACH show
SAY "player"
END
HAS score NUMBER
END
NEW Player player
SET player.score "ten"