typecheck: diagnose missing TO in field annotations

This commit is contained in:
Hermes Agent
2026-09-21 15:47:01 +00:00
parent a4f748b142
commit b1eba07cf1
8 changed files with 19 additions and 4 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
### Diagnose missing `TO` in separated field annotations
- `claro typecheck` now explains how to repair `SET player.score AS NUMBER` by adding `TO` and a value.
- Added focused negative coverage to the complete typecheck validation matrix.
### Diagnose missing values after short field annotations
- `claro typecheck` now explains how to repair a short explicitly typed object-field assignment that stops after the type, such as `SET player.score NUMBER`.