diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 06:52:23 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 06:52:23 +0000 |
| commit | 39661855c0816ac248be437704c76f58359cb5f0 (patch) | |
| tree | 202b014805e40208e3adb861f4a97d31770f13e6 /tests/i/class-constructors/notes.md | |
| parent | c89477d615fb0ce4d89786ef848ffe6aca1da088 (diff) | |
feat(classes): construct declared objects and nested fields and arrays
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/class-constructors/notes.md')
| -rw-r--r-- | tests/i/class-constructors/notes.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/i/class-constructors/notes.md b/tests/i/class-constructors/notes.md new file mode 100644 index 0000000..0145a0a --- /dev/null +++ b/tests/i/class-constructors/notes.md @@ -0,0 +1,5 @@ +# Class constructors + +Human review: pending. Expected output was independently traced by AI. + +The project extends guide section 10.2 with automatic stack, field and array construction. Leaf observes its zeroed Value before setting it to 3. A and B each construct once; Named stores name; Plain has no constructor and stays zero. Four array elements each construct once. Wrapped constructs Pair's two Leaf fields in order before Pair observes their sum of 6. Each execution of the loop declaration zeroes and constructs Local again, so both iterations print leaf:0 then 3 despite storing 99 in the previous iteration. |
