From be964b4df4db9f42e0b7d615c1cbfa6cf268e646 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 12:01:45 +0000 Subject: 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 --- tests/i/string-aggregate-assignment/notes.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/i/string-aggregate-assignment/notes.md (limited to 'tests/i/string-aggregate-assignment/notes.md') 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. -- cgit v1.3.1-4-g156e