feat: diagnose object field assignment before NEW

This commit is contained in:
Hermes Agent
2026-08-07 03:02:55 +00:00
parent 68104bd25a
commit c41d2555c9
7 changed files with 30 additions and 4 deletions
+6
View File
@@ -223,6 +223,12 @@ If a learner checks a field before creating the object with `NEW`, `claro typech
Object player is not known yet. Create it with NEW ClassName player before checking player.score.
```
The same missing-object guidance is now validated for direct field assignment before `NEW`:
```text
Object player is not known yet. Create it with NEW ClassName player before setting player.score.
```
## Project and package workflow
v1.18.26 hardens Claro's project/package workflow.