refactor(ffi-linkage): Phase 9.1b — rename 'foreign symbol' diagnostic + panic to 'extern'
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).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error: foreign symbol 'getenv' is already bound with a different signature; two views of one C symbol must declare identical types
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user