test: cover typed method return expressions
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user