fix(C4): collectCImportSources recurses into nested namespaces

A named #import c unit declared inside an aliased module sits two
namespace levels deep in the merged tree; the one-level walk (the
extractLibraries/0130 pattern in c_import form) never collected it,
so the unit silently never compiled and its symbols resolved from
whatever process image carried the same names — surfaced by C4's
sqlite migration, where only the version pin could tell the OS copy
from the vendored one.
This commit is contained in:
agra
2026-06-12 17:16:03 +03:00
parent 44f4aab51c
commit e9b500a232
7 changed files with 54 additions and 33 deletions

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
nested unit answer = 54