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.
7 lines
391 B
Plaintext
7 lines
391 B
Plaintext
// One of two flat authors of `absval`, an `extern` libc binding — the
|
|
// `extern` twin of example 0729's `extern libc "abs"`. A consumer
|
|
// flat-importing BOTH must NOT see this as an ambiguous bare-call
|
|
// collision: extern authors (external C symbols) are excluded from the
|
|
// bare-call ambiguity verdict, exactly like their `extern` twins.
|
|
absval :: (n: i32) -> i32 extern libc "abs";
|