test: cover typed method return expressions

This commit is contained in:
Hermes Agent
2026-09-09 05:50:44 +00:00
parent 57246c7a47
commit 465f3f4d26
8 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
### Check typed parameter expressions in returns
- `claro typecheck` now carries a function or method parameter's `CHECK TYPE` metadata into later return-expression inference.
- Added positive and negative arithmetic return fixtures so a declared return type cannot silently accept an expression whose parameter type is already known.
- Added positive and negative arithmetic return fixtures for functions and object methods so a declared return type cannot silently accept an expression whose parameter type is already known.
### Check simple function return types