typecheck: reject unknown class field types

This commit is contained in:
Hermes Agent
2026-09-16 15:54:26 +00:00
parent 139838d56e
commit 31d87c7a5d
8 changed files with 19 additions and 2 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
### Diagnose unknown class field types
- `claro typecheck` now rejects class fields such as `HAS score BANANA` with a beginner-facing diagnostic that names the class and field, lists supported type examples, and suggests using a Claro type.
### Validate compatibility duplicate-parameter diagnostics
- Added focused coverage proving that compatibility `TAKES` / `LEARNED` functions reject repeated parameter names with the same repair-oriented diagnostic as modern functions.