Commit 3c9c517
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 d8a2a24 commit 3c9c517
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
0 commit comments