typecheck: identify methods missing return types

This commit is contained in:
Hermes Agent
2026-09-18 11:16:47 +00:00
parent 131211adef
commit df3c57415d
8 changed files with 29 additions and 2 deletions
+1
View File
@@ -82,6 +82,7 @@ Keep declared return types honest: `claro typecheck` now reports friendly diagno
8q.6. Keep `TYPE OF` declarations unambiguous: extra words after the result name now get a direct repair hint instead of being silently included in the variable name.
8q.7. Keep typed `TEACH` declarations unambiguous: extra words after a declared return type now get a direct repair hint instead of being treated as part of an unknown type.
8q.8. Keep typed `TEACH` declarations complete: a bare `RETURNS` now gets a direct repair hint naming the missing type and showing a supported example such as `NUMBER`.
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.
### 1. Strong static types