You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Platform
arm64-apple-macosx14.0
Editor
VSCode
Does the issue reproduce with Swift 6?
Yes
Description
If I export a symbol from a library to include it in the public symbols of another library then SourceKit-LSP considers these to be separate symbols and will duplicate them in completion lists
Steps to Reproduce
Create a package with a library called Duplicate using SwiftPM
Add to source of package @_exported import class Foundation.JSONDecoder
Create another target that is dependent on the original library target
Add the following lines
import Foundation
import Duplicate
Compile
Now when I type JSON into the file I get two completion entries for JSONDecoder.
Logging
No response
The text was updated successfully, but these errors were encountered:
Swift version
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Platform
arm64-apple-macosx14.0
Editor
VSCode
Does the issue reproduce with Swift 6?
Yes
Description
If I export a symbol from a library to include it in the public symbols of another library then SourceKit-LSP considers these to be separate symbols and will duplicate them in completion lists
Steps to Reproduce
@_exported import class Foundation.JSONDecoder
JSON
into the file I get two completion entries forJSONDecoder
.Logging
No response
The text was updated successfully, but these errors were encountered: