Skip to content

[5.5] [NFC] Small fix to emitModuleJob for compatibility with <=5.3 compilers. #656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented May 12, 2021

Cherry-pick of #617

Some SwiftCI bots are using a 5.3 compiler and errors out on this code with:

swift-driver/Sources/SwiftDriver/Jobs/Planning.swift:188:31: error: variable used within its own initial value
               let emitModuleJob = try emitModuleJob()

SwiftCI is using a 5.3 compiler and errors out on this code with:
```
swift-driver/Sources/SwiftDriver/Jobs/Planning.swift:188:31: error: variable used within its own initial value
               let emitModuleJob = try emitModuleJob()
```
@artemcm artemcm requested a review from xymus May 12, 2021 17:17
@artemcm artemcm requested a review from a team as a code owner May 12, 2021 17:17
@artemcm
Copy link
Contributor Author

artemcm commented May 12, 2021

@swift-ci please test

@airspeedswift airspeedswift merged commit 6d74c95 into swiftlang:release/5.5 May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants