test: cover compatibility method return types

This commit is contained in:
Hermes Agent
2026-09-09 16:09:14 +00:00
parent 762fde4379
commit 81c4ff4177
4 changed files with 18 additions and 1 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
### Validate compatibility method return types
- Added focused coverage proving that the older `TEACH ... TAKES ... RETURNS TYPE` / `LEARNED` method syntax receives the same learner-facing return-type diagnostic as modern methods.
- Added the compatibility method fixture to the complete typecheck diagnostics validator.
### 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.