test: group examples into per-category folders
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.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
| ^^^
|
||||
Reference in New Issue
Block a user