typecheck: clarify extra CHECK TYPE tokens

This commit is contained in:
Hermes Agent
2026-09-17 18:46:36 +00:00
parent 1204731785
commit 9b26a854e2
6 changed files with 16 additions and 1 deletions
+2
View File
@@ -73,6 +73,8 @@ Keep declared return types honest: `claro typecheck` now reports friendly diagno
8q. Keep `CHECK TYPE` syntax understandable: a missing `IS` now gets a direct repair hint with a complete `CHECK TYPE score IS NUMBER` example.
8q.1. Keep `CHECK TYPE` declarations unambiguous: extra words after a valid expected type now get a direct repair hint instead of being reported as an unknown type.
### 1. Strong static types
Goal: make larger beginner programs safer without making first scripts harder.