typecheck: validate explicitly typed object fields

This commit is contained in:
Hermes Agent
2026-09-06 07:56:38 +00:00
parent 6198b75f66
commit a2dafadbf8
5 changed files with 12 additions and 3 deletions
@@ -0,0 +1,6 @@
CLASS Player
HAS score NUMBER
END
NEW Player player
SET player.score TEXT "ten"