typecheck: preserve text operands in arithmetic diagnostics

This commit is contained in:
Hermes Agent
2026-09-07 04:28:03 +00:00
parent 2e990a4b00
commit 2cf5aaf3a9
7 changed files with 32 additions and 1 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.score - player.name