test: add object field YESNO negative typecheck fixture

This commit is contained in:
Hermes Agent
2026-06-19 03:07:52 -06:00
parent 296d2e5b4e
commit a89b374766
7 changed files with 18 additions and 4 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
## v1.18.26-dev object field YESNO negative validation
- Added a focused negative `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 wrong-type fixture into both the typecheck diagnostics validator and `claro validate`, complementing the existing NUMBER wrong-type diagnostic and NUMBER/TEXT/YESNO positive field fixtures.
## 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`.