Skip to content

Conversation

tshortli
Copy link
Contributor

The diagnostic pass that checks whether expressions reference member declarations that have not been imported failed to handle key path expressions.

Resolves rdar://159093481.

@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli
Copy link
Contributor Author

@swift-ci please test source compatibility

tshortli added a commit to tshortli/sourcekit-lsp that referenced this pull request Aug 27, 2025
With the Swift compiler fix swiftlang/swift#83934
(which ensures that key paths are diagnosed correctly when
`MemberImportVisibility` is enabled) SourceKit no longer builds because the
compiler now correctly identifies a missing import of `SourceKitD`. Add the
missing import.
The diagnostic pass that checks whether expressions reference member
declarations that have not been imported failed to handle key path expressions.

Resolves rdar://159093481.
@tshortli tshortli force-pushed the key-path-member-import-visibility branch from 36a85b0 to ea714d2 Compare August 27, 2025 16:44
@tshortli
Copy link
Contributor Author

swiftlang/sourcekit-lsp#2263

@swift-ci please test

@tshortli tshortli enabled auto-merge August 27, 2025 22:59
@tshortli tshortli merged commit c23af5f into swiftlang:main Aug 28, 2025
5 checks passed
@tshortli tshortli deleted the key-path-member-import-visibility branch August 28, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant