typecheck: diagnose unknown method field annotations

This commit is contained in:
Hermes Agent
2026-09-15 15:02:58 +00:00
parent 88c684da37
commit 304c43ba45
8 changed files with 25 additions and 1 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog
### Diagnose unknown inline method-field annotations
- `claro typecheck` now rejects unknown inline field annotations such as `BANANA` and suggests the class-declared `HAS` type.
- Added focused negative coverage to the complete typecheck validation matrix.
### Align inline method-field annotations with class fields
- `claro typecheck` now compares an inline method assignment annotation with the class field declared by `HAS`.