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.
24 lines
945 B
Plaintext
24 lines
945 B
Plaintext
error: cannot assign through constant 'WHITE' — constants are immutable (use a '=' global or a local copy for mutable data)
|
|
--> examples/diagnostics/1162-diagnostics-const-write-rejected.sx:15:5
|
|
|
|
|
15 | WHITE.r = 0;
|
|
| ^^^^^^^
|
|
|
|
error: cannot assign through constant 'K' — constants are immutable (use a '=' global or a local copy for mutable data)
|
|
--> examples/diagnostics/1162-diagnostics-const-write-rejected.sx:16:5
|
|
|
|
|
16 | K[0] = 5;
|
|
| ^^^^
|
|
|
|
error: cannot assign through constant 'K' — constants are immutable (use a '=' global or a local copy for mutable data)
|
|
--> examples/diagnostics/1162-diagnostics-const-write-rejected.sx:17:5
|
|
|
|
|
17 | K[1] += 2;
|
|
| ^^^^
|
|
|
|
error: cannot assign through constant 'N' — constants are immutable (use a '=' global or a local copy for mutable data)
|
|
--> examples/diagnostics/1162-diagnostics-const-write-rejected.sx:18:5
|
|
|
|
|
18 | N = 9;
|
|
| ^^^^^^
|