The dup-C-symbol diagnostic (decl.zig) and the resolveFuncByName panic (call.zig) now say 'extern symbol' instead of 'foreign symbol' — the keyword-neutral internal wording catches up to the extern-only surface. Intentional snapshot regen of 1172 (the only assertion of this message). Suite green (646/444).
6 lines
333 B
Plaintext
6 lines
333 B
Plaintext
error: extern symbol 'getenv' is already bound with a different signature; two views of one C symbol must declare identical types
|
|
--> examples/1172-diagnostics-foreign-symbol-conflict.sx:9:61
|
|
|
|
|
9 | getenv_opt :: (name: [:0]u8) -> ?[:0]u8 extern libc "getenv";
|
|
| ^
|