From 5a67f4e3833c2acca4a351f5dd613bc08f04bfc0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sun, 18 Oct 2026 06:11:42 +0000 Subject: feat(operators): document overloads and cover remaining operator forms Add fixed cases for every supported operator, imported global and member operators, CASE comparisons, and declared result type errors. Document syntax, exact matching, access rules and temporary receiver lifetimes. Co-Authored-By: Claude Opus 5.5 --- tests/i/multifile-operators/notes.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/i/multifile-operators/notes.md (limited to 'tests/i/multifile-operators/notes.md') diff --git a/tests/i/multifile-operators/notes.md b/tests/i/multifile-operators/notes.md new file mode 100644 index 0000000..73263d1 --- /dev/null +++ b/tests/i/multifile-operators/notes.md @@ -0,0 +1,7 @@ +# multifile-operators + +Human review: pending. Expected output was independently traced by AI, not captured from cpsc. + +Basis: INCLUDE and operator overloading are project extensions. + +Trace: program imports the global INTEGER addition and transitively imports Key and its comparison methods. Value 3 plus 2 gives 5; 3 equals 4 is FALSE. CASE first rejects equality with 1, then matches the inclusive range 1 through 4. Array element value 4 equals high, yielding TRUE. Dereferencing the pointer to item then adding 5 gives 8. -- cgit v1.3.1-4-g156e