test: cover compatibility method addition diagnostics

This commit is contained in:
Hermes Agent
2026-09-12 22:32:45 +00:00
parent bbf1ad0b19
commit 747e8156e0
7 changed files with 42 additions and 2 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
### Validate compatibility method addition diagnostics
- Added focused negative typecheck coverage proving that the older `TAKES` / `LEARNED` method syntax identifies a TEXT operand in a NUMBER addition return and explains the required operand type.
- Wired the fixture into the standalone typecheck validator and `claro validate`.
### Validate compatibility method addition returns
- Added focused positive typecheck coverage proving that the older `TEACH ... TAKES ... RETURNS NUMBER` / `LEARNED` method syntax accepts a numeric addition return after `CHECK TYPE` establishes the parameter type.