typecheck: diagnose missing function names

This commit is contained in:
Hermes Agent
2026-09-17 04:21:38 +00:00
parent b59945b14f
commit 649b327f52
7 changed files with 15 additions and 3 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
### Diagnose missing function names
- `claro typecheck` now explains how to repair a bare `TEACH` declaration instead of silently accepting a function with no name.
- Added focused coverage to the complete typecheck diagnostic validation matrix.
### 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.