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.
12 lines
473 B
Plaintext
12 lines
473 B
Plaintext
error: integer literal 300 does not fit in i8 (range -128..127) — use an explicit `xx` / `cast` to truncate
|
|
--> examples/diagnostics/1156-diagnostics-int-literal-out-of-range.sx:8:14
|
|
|
|
|
8 | x : i8 = 300;
|
|
| ^^^
|
|
|
|
error: integer literal 256 does not fit in u8 (range 0..255) — use an explicit `xx` / `cast` to truncate
|
|
--> examples/diagnostics/1156-diagnostics-int-literal-out-of-range.sx:10:14
|
|
|
|
|
10 | y : u8 = 256;
|
|
| ^^^
|