test: add object field YESNO positive typecheck fixture

This commit is contained in:
Hermes Agent
2026-06-18 03:03:10 -06:00
parent 0b632e116d
commit 296d2e5b4e
6 changed files with 15 additions and 3 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
## v1.18.26-dev object field YESNO positive validation
- Added a focused positive `claro typecheck` fixture for direct object-field assignment with a YESNO field: `NEW Player player` followed by `SET player.ready YES` when the class declares `HAS ready YESNO`.
- Wired the YESNO object-field fixture into both the typecheck diagnostics validator and `claro validate`, complementing the existing NUMBER/TEXT positive fixtures and wrong-type field diagnostic fixture.
## v1.18.26-dev object field TEXT positive validation
- Added a focused positive `claro typecheck` fixture for direct object-field assignment with a TEXT field: `NEW Player player` followed by `SET player.name "Ada"` when the class declares `HAS name TEXT`.