test: add object field CHECK TYPE NUMBER positive fixture

This commit is contained in:
Hermes Agent
2026-07-12 03:08:31 -06:00
parent e8faa06586
commit 765271aab6
6 changed files with 16 additions and 3 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
## v1.18.26-dev object field CHECK TYPE NUMBER positive validation
- Added a focused positive `claro typecheck` fixture for direct object-field metadata checks: `CHECK TYPE player.score IS NUMBER` is accepted after `NEW Player player` and `SET player.score 10` when the class declares `HAS score NUMBER`.
- Wired the fixture into both the typecheck diagnostics validator and `claro validate`; no production typechecker behavior change was needed because the existing direct object-field metadata path already accepts the NUMBER check.
## v1.18.26-dev standard-library reliability update
- Added a tested `lib/collections.claro` module with list and map helpers.