test: cover modern method unknown-field expressions

This commit is contained in:
Hermes Agent
2026-09-15 04:17:33 +00:00
parent 3fb0a2ec45
commit 83465b73f3
6 changed files with 18 additions and 3 deletions
+2
View File
@@ -1,5 +1,7 @@
# Changelog
- Added focused modern-method coverage for the learner-facing diagnostic produced when an undeclared field is assigned from an expression whose type is not inferable yet.
## Unreleased
- Method-body `CHECK TYPE` diagnostics now name the current class method when a declared field is checked against the wrong type, with focused positive and negative validation coverage.