typecheck: explain text operands in addition

This commit is contained in:
Hermes Agent
2026-09-08 03:02:24 +00:00
parent 7ecaf3fc94
commit f51ce6b56a
8 changed files with 34 additions and 7 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
### Explain text operands in object-field addition
- Added focused typecheck coverage for `SET player.score player.name + 1`.
- `claro typecheck` now names the `TEXT` operand and explains that addition into a `NUMBER` field needs numeric values, matching the existing subtraction, multiplication, and division diagnostics.
### Complete numeric object-field arithmetic coverage
- Added a focused positive typecheck fixture for numeric subtraction in an object field.