typecheck: clarify missing CHECK TYPE IS

This commit is contained in:
Hermes Agent
2026-09-17 16:42:56 +00:00
parent 67ba1b1403
commit 1204731785
6 changed files with 16 additions and 2 deletions
+6
View File
@@ -141,6 +141,12 @@ SAY kind
CHECK TYPE score IS NUMBER
```
`CHECK TYPE` also gives a direct repair hint when `IS` is missing:
```text
CHECK TYPE needs IS. Try: CHECK TYPE score IS NUMBER.
```
`CHECK TYPE` names a real Claro type. If a type name is misspelled, the checker explains the allowed beginner types instead of reporting a confusing value mismatch:
```text