Skip to content

Updates to support Swift 6 language version#650

Merged
natecook1000 merged 5 commits into
mainfrom
swift6-support
Jul 15, 2024
Merged

Updates to support Swift 6 language version#650
natecook1000 merged 5 commits into
mainfrom
swift6-support

Conversation

@natecook1000
Copy link
Copy Markdown
Member

Some minor NFC changes to resolve strict concurrency checking warnings/errors and the warning about the change in meaning for #file.

Some minor NFC changes to resolve strict concurrency checking
warnings/errors and the warning about the change in meaning for
`#file`.
@natecook1000
Copy link
Copy Markdown
Member Author

@swift-ci Please test

@natecook1000
Copy link
Copy Markdown
Member Author

@swift-ci Please test

@natecook1000 natecook1000 requested a review from rauhul June 28, 2024 17:33
Copy link
Copy Markdown
Collaborator

@rauhul rauhul left a comment

Choose a reason for hiding this comment

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

I dont understand the file -> filePath change but looks right overall


import Foundation
#if swift(>=6)
@preconcurrency import PackagePlugin
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hmm it feels like we should file a bug on SwiftPM for this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I can't reproduce the warnings that led me to add this anymore 😭

@natecook1000 natecook1000 enabled auto-merge (squash) July 15, 2024 21:07
@natecook1000
Copy link
Copy Markdown
Member Author

@swift-ci Please test

@natecook1000 natecook1000 merged commit bb10ca8 into main Jul 15, 2024
@natecook1000 natecook1000 deleted the swift6-support branch July 15, 2024 22:37
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.

2 participants