Commit 6b4b4b2
committed
Fix visibility on import triggering a compile warning
Previously, building sourcekit-lsp would produce the following
warning when building on macOS:
$ swift build
Building for debugging...
/Users/wilfred/src/sourcekit-lsp/Sources/SKLogging/CustomLogStringConvertible.swift:13:9: warning: package import of 'Foundation' was not used in package declarations
11 | //===----------------------------------------------------------------------===//
12 |
13 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
Remove the visibility modifier, so no warning is produced.1 parent 8a908f2 commit 6b4b4b2
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments