The Phase 7 batches globbed top-level examples/*.sx and missed #foreign decls in SUBDIRECTORY companion files. Migrate the 4 incidental fn decls (behavior-preserving): 0729/a.sx + b.sx (same-name 'absval' libc authors), 1617/c.sx (pcap_lib_version), 1623/mod.sx (unit_in_mod_answer) — all '#foreign LIB "csym";' → 'extern LIB "csym";'. Parents all marker'd → corpus-validated; empty snapshot diff. Comment lines left for Phase 9.3. Suite green (647/444).
6 lines
335 B
Plaintext
6 lines
335 B
Plaintext
// One of two flat authors of `absval`, a `#foreign` libc binding. A consumer
|
|
// flat-importing BOTH must NOT see this as an ambiguous bare-call collision —
|
|
// foreign authors are never rerouted by the bare-call resolver, so the call
|
|
// falls to the existing first-wins foreign dispatch.
|
|
absval :: (n: i32) -> i32 extern libc "abs";
|