Skip to content

Conversation

beccadax
Copy link

swiftlang/swift#84358 makes the _Concurrency module behave like a cross-import overlay of Swift. This changes downstream behavior in SourceKit-LSP. Update a test to reflect that change.

@beccadax
Copy link
Author

With swiftlang/swift#84358

@swift-ci please test

@beccadax
Copy link
Author

beccadax commented Oct 3, 2025

With swiftlang/swift#84358

@swift-ci please test

@beccadax
Copy link
Author

beccadax commented Oct 3, 2025

With swiftlang/swift#84358

@swift-ci test

@beccadax

This comment was marked as off-topic.

@beccadax
Copy link
Author

beccadax commented Oct 3, 2025

With swiftlang/swift#84358

@swift-ci test

1 similar comment
@beccadax
Copy link
Author

beccadax commented Oct 4, 2025

With swiftlang/swift#84358

@swift-ci test

@beccadax
Copy link
Author

beccadax commented Oct 4, 2025

Failure looks like we picked up swiftlang/swift-syntax#3156 without the matching swiftlang/swift#84553.

@beccadax
Copy link
Author

beccadax commented Oct 4, 2025

With swiftlang/swift#84358

@swift-ci test

@beccadax
Copy link
Author

beccadax commented Oct 5, 2025

With swiftlang/swift#84358

@swift-ci test Windows platform

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this again, we need to allow both _Concurrency.swiftinterface and Swift.swiftinterface here because SourceKit-LSP tests need to also pass when running with the last released toolchain.

My suggestion would be to make assertSystemSwiftInterface take an array for swiftInterfaceFile and also add the following snippet so we remember that we can remove _Concurrency.swiftinterface in the future

#if compiler(>=6.4)
#warning("Remove _Concurrency.swifinterface and make assertSystemSwiftInterface take a single interface file name once we no longer need to support Swift 6.2 toolchains")
#endif

@beccadax beccadax force-pushed the common-concurrency branch from d396b11 to 5ece925 Compare October 6, 2025 18:27
@beccadax
Copy link
Author

beccadax commented Oct 6, 2025

With swiftlang/swift#84358

@swift-ci test

swiftlang/swift#84358 makes the `_Concurrency` module behave like a cross-import overlay of `Swift`. This changes downstream behavior in SourceKit-LSP. Update a test to reflect that change.
@beccadax
Copy link
Author

beccadax commented Oct 6, 2025

[2025-10-06T20:26:23.738Z] branch-main/sourcekit-lsp/Tests/SourceKitLSPTests/SwiftInterfaceTests.swift:402:1: error: [LineLength] line is too long

This is the line with the @available attribute. Sigh.

@beccadax beccadax force-pushed the common-concurrency branch from 5ece925 to d579d5c Compare October 6, 2025 20:47
@beccadax
Copy link
Author

beccadax commented Oct 6, 2025

With swiftlang/swift#84358

@swift-ci test

@beccadax
Copy link
Author

beccadax commented Oct 7, 2025

With swiftlang/swift#84358

@swift-ci test Windows platform

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.

3 participants