test: cover compatibility method subtraction returns

This commit is contained in:
Hermes Agent
2026-09-12 16:21:24 +00:00
parent 7cdc2e72b1
commit 55e783e2c3
6 changed files with 31 additions and 3 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
### Validate compatibility method subtraction returns
- Added focused positive typecheck coverage proving that the older `TEACH ... TAKES ... RETURNS NUMBER` / `LEARNED` method syntax accepts a numeric subtraction return after `CHECK TYPE` establishes the parameter type.
- Wired the fixture into the standalone typecheck validator and `claro validate`.
### Validate numeric function subtraction returns
- Added focused positive typecheck coverage proving that a typed function can return a numeric subtraction expression after `CHECK TYPE` establishes its parameter type.