mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rather than replacing the code completion file on the `CompilerInstance` whenever we do a cached top-level completion, let's set a new main module instead. This allows us to properly update the `LoadedModules` map, and allows the retrieval of the code completion file to be turned into a request.
51 KiB
51 KiB