mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Adopt InternalImportsByDefault
This commit is contained in:
@@ -10,6 +10,16 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6)
|
||||
package import BuildServerProtocol
|
||||
package import LanguageServerProtocol
|
||||
import SKLogging
|
||||
import SKOptions
|
||||
import ToolchainRegistry
|
||||
|
||||
package import struct TSCBasic.AbsolutePath
|
||||
package import struct TSCBasic.RelativePath
|
||||
#else
|
||||
import BuildServerProtocol
|
||||
import LanguageServerProtocol
|
||||
import SKLogging
|
||||
@@ -18,6 +28,7 @@ import ToolchainRegistry
|
||||
|
||||
import struct TSCBasic.AbsolutePath
|
||||
import struct TSCBasic.RelativePath
|
||||
#endif
|
||||
|
||||
/// An error build systems can throw from `prepare` if they don't support preparation of targets.
|
||||
package struct PrepareNotSupportedError: Error, CustomStringConvertible {
|
||||
|
||||
Reference in New Issue
Block a user