diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 12:01:45 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 12:01:45 +0000 |
| commit | be964b4df4db9f42e0b7d615c1cbfa6cf268e646 (patch) | |
| tree | d9257871558ec123e4e8437921fe6ac7b8836164 /tests/i/string-aggregate-assignment/notes.md | |
| parent | 62b605c6c0ea13e9763c0a0115464007b13a8831 (diff) | |
fix(strings): preserve enclosing class lifetimes during assignment
Copy owned string fields without reconstructing or destroying their
containing class, and retain rvalue ownership transfers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/string-aggregate-assignment/notes.md')
| -rw-r--r-- | tests/i/string-aggregate-assignment/notes.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/i/string-aggregate-assignment/notes.md b/tests/i/string-aggregate-assignment/notes.md new file mode 100644 index 0000000..592272d --- /dev/null +++ b/tests/i/string-aggregate-assignment/notes.md @@ -0,0 +1,3 @@ +# Aggregate assignment with STRING fields + +Human review: pending. Default class assignment copies STRING fields independently, including self-assignment, without invoking the enclosing class's copy constructor or destructor. The two declared boxes are destroyed only when Check returns. |
