test: cover empty compatibility function returns

This commit is contained in:
Hermes Agent
2026-09-18 23:41:22 +00:00
parent ede2e333fb
commit b79db4f25c
7 changed files with 18 additions and 2 deletions
+1
View File
@@ -85,6 +85,7 @@ Keep declared return types honest: `claro typecheck` now reports friendly diagno
8q.9. Keep missing return-type diagnostics aligned across functions and methods: modern and compatibility methods now name the complete `Class.method` identity when `RETURNS` has no type, with focused fixtures in the typecheck and release validation matrices.
8q.10. Keep return statements beginner-readable: typed returns now identify simple extra tokens after a value and explain that `RETURN` accepts one expression, with focused release validation coverage.
8q.11. Keep extra-token return diagnostics aligned across syntax generations: modern and compatibility functions and object methods now have focused fixtures for `RETURN value extra`, so errors keep the function or class-and-method name and the same repair hint.
8q.12. Keep empty typed-return diagnostics aligned across syntax generations: modern and compatibility functions and object methods now have focused fixtures for bare `RETURN`, so each form explains that the declared type needs an expression.
### 1. Strong static types