test: cover compatibility function return types

This commit is contained in:
Hermes Agent
2026-09-09 14:05:35 +00:00
parent e26a398082
commit 762fde4379
8 changed files with 26 additions and 3 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
### Validate compatibility function return types
- Added focused coverage proving that the older `TEACH ... TAKES ... RETURNS TYPE` / `LEARNED` syntax receives the same learner-facing return-type diagnostic as modern functions.
- Added the compatibility fixture to both `claro validate` and the complete typecheck diagnostics validator.
### Validate unknown method return types
- Added focused `claro typecheck` regression coverage for an object method declaring an unsupported `RETURNS` type such as `BANANA`.