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:
agra
2026-06-15 08:42:59 +03:00
parent b838f6383f
commit b78e7ddeb1
3 changed files with 3 additions and 3 deletions

View File

@@ -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";