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
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
error: type 'Pair' is ambiguous: it is declared in multiple flat-imported modules; qualify the reference or remove the duplicate import
|
|
--> examples/modules/0797-modules-same-name-union-ambiguous.sx:31:19
|
|
|
|
|
31 | sz := size_of(Pair);
|
|
| ^^^^
|
|
|
|
error: type 'Pair' is ambiguous: it is declared in multiple flat-imported modules; qualify the reference or remove the duplicate import
|
|
--> examples/modules/0797-modules-same-name-union-ambiguous.sx:32:9
|
|
|
|
|
32 | u : Pair = ---;
|
|
| ^^^^
|
|
|
|
error: type 'Pair' is ambiguous: it is declared in multiple flat-imported modules; qualify the reference or remove the duplicate import
|
|
--> examples/modules/0797-modules-same-name-union-ambiguous.sx:33:16
|
|
|
|
|
33 | t : Type = Pair;
|
|
| ^^^^
|
|
|
|
error: type 'Pair' is ambiguous: it is declared in multiple flat-imported modules; qualify the reference or remove the duplicate import
|
|
--> examples/modules/0797-modules-same-name-union-ambiguous.sx:24:14
|
|
|
|
|
24 | case Pair: 1;
|
|
| ^^^^
|