feat: add typed function argument diagnostics

This commit is contained in:
Hermes Agent
2026-06-08 10:20:30 -06:00
parent 078b7874d3
commit 9c5202cd2c
9 changed files with 99 additions and 4 deletions
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## v1.18.26-dev typed function diagnostic foundation
- Added a narrow `claro typecheck` foundation for function argument diagnostics: if a function body declares a parameter expectation with `CHECK TYPE parameter IS TYPE`, calls to that function are checked against the expected argument type.
- Added positive and negative fixtures for the function-argument diagnostic path.
- Extended `tools/validate_typecheck_diagnostics.py` to verify both the new friendly error and a matching successful call.
## v1.18.26-dev learner documentation status cleanup
- Grouped the README documentation map by current feature status so new learners can see what is ready, what is foundation-level, and what is still planned or experimental.