mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
fix SourceKit injected VFS with .swiftinterface files
Use `.setFileSystem()` instead of new `setup` method.
This commit is contained in:
@@ -197,7 +197,8 @@ static bool swiftCodeCompleteImpl(
|
||||
// FIXME: We need to be passing the buffers from the open documents.
|
||||
// It is not a huge problem in practice because Xcode auto-saves constantly.
|
||||
|
||||
if (CI.setup(Invocation, FileSystem)) {
|
||||
CI.getSourceMgr().setFileSystem(FileSystem);
|
||||
if (CI.setup(Invocation)) {
|
||||
// FIXME: error?
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user