Move examples/*.sx and their expected/ snapshots into per-category subfolders (examples/<category>/...). Folder = leading filename token, with ffi-objc/ffi-jni kept whole; filenames are unchanged. The corpus runner and LSP sweep now discover each category's expected/ dir, while issues/ stays flat. Example 1058's repo-root-relative companion import is made file-relative. Path strings embedded in 164 snapshots were regenerated (path-only changes). Test-layout docs in CLAUDE.md updated.
18 lines
691 B
Plaintext
18 lines
691 B
Plaintext
error: field 'q' not found on type 'Point'
|
|
--> examples/diagnostics/1145-diagnostics-missing-struct-field-assign.sx:20:5
|
|
|
|
|
20 | p.q = 2; // site 1: lowerAssignment target path
|
|
| ^^^
|
|
|
|
error: field 'missing' not found on type 'Outer'
|
|
--> examples/diagnostics/1145-diagnostics-missing-struct-field-assign.sx:23:5
|
|
|
|
|
23 | o.missing.a = 5; // site 2: lowerExprAsPtr fallback
|
|
| ^^^^^^^^^
|
|
|
|
error: field 'r' not found on type 'Point'
|
|
--> examples/diagnostics/1145-diagnostics-missing-struct-field-assign.sx:26:5
|
|
|
|
|
26 | p.r, y = 3, 4; // site 3: lowerMultiAssign field path
|
|
| ^^^
|