// fix-0102c (issue 0102) F3 regression: two flat FILE imports each `#foreign` // the SAME libc symbol under the SAME sx name `absval`. The bare-call resolver // must NOT count `#foreign` (non-plain) authors when deciding ambiguity — it // filters them out, returns "no rerouting", and the existing first-wins foreign // dispatch binds the call. A same-name foreign collision therefore compiles and // runs (master behavior), it does NOT error as ambiguous. #import "modules/std.sx"; #import "0729-modules-flat-same-name-foreign/a.sx"; #import "0729-modules-flat-same-name-foreign/b.sx"; main :: () -> s32 { print("absval = {}\n", absval(-7)); 0 }