mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When onlyIfImported is true, we should return the public module name only when the public facing module is already imported. Replace the call to getModuleByIdentifier with getLoadedModule to prevent trigering loading that module. Also fix the test where the CHECK lined ended up matching itself from the diagnostics output.
138 KiB
138 KiB