test: cover object field expressions

This commit is contained in:
Hermes Agent
2026-09-04 23:11:44 +00:00
parent 5136437e44
commit 8f449898bd
8 changed files with 29 additions and 4 deletions
@@ -0,0 +1,8 @@
CLASS Player
HAS name TEXT
HAS score NUMBER
END
NEW Player player
SET player.name "Ada"
SET player.score player.name
@@ -0,0 +1,7 @@
CLASS Player
HAS score NUMBER
END
NEW Player player
SET player.score 10
SET player.score player.score + 1