diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 06:02:21 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 06:02:21 +0000 |
| commit | 3425b95cb654f8e1adc98365a4b370aa1fff8b4d (patch) | |
| tree | 4d81b91d0bd807cd6f7ced037533d6e60f5c307f /tests/i/class-methods/notes.md | |
| parent | 4e22f464387725a5a282f3d72e11cfb694a31a5a (diff) | |
feat(classes): support ordinary member methods and this references
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/class-methods/notes.md')
| -rw-r--r-- | tests/i/class-methods/notes.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/i/class-methods/notes.md b/tests/i/class-methods/notes.md new file mode 100644 index 0000000..903166c --- /dev/null +++ b/tests/i/class-methods/notes.md @@ -0,0 +1,7 @@ +# class-methods + +Human review: pending. Expected output was independently traced by AI, not captured from cpsc. + +Basis: guide section 10.1; this and existing class value semantics are project behavior. + +Trace: A and B start at 3 and 8; Add changes only A to 5. Copy then Set leaves A at 9 and B at 8. Clone copies 9 into B; same-class private access reads 9. Sum(4) is 10 and the global Get returns 100. The array pointer changes Items[1] from 6 to 10; the nested object stays 7. Take adds A's 9 to Number's 1 and writes 10 into Values[1]. Fail is caught. Passing this BYREF changes A to 42. A method-only class returns 99 from its independent Get method. |
