typecheck: name method field check diagnostics

This commit is contained in:
Hermes Agent
2026-09-13 15:04:31 +00:00
parent ae41341a7d
commit d690ff5a0f
9 changed files with 38 additions and 4 deletions
+2
View File
@@ -2,6 +2,8 @@
## 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.
- Typecheck diagnostics for typed method-body field assignments now name the class method and arithmetic operation when a known TEXT operand is used in a NUMBER field update.
### Compatibility method field-assignment diagnostics