Skip to content

Small fix to emitModuleJob for compatibility with <=5.3 compilers. #617

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
merged 1 commit into from
Apr 27, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 27, 2021

SwiftCI is using a 5.3 compiler and errors out on trying to build 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 April 27, 2021 16:13
@artemcm
Copy link
Contributor Author

artemcm commented Apr 27, 2021

@swift-ci please test

Copy link
Contributor

@xymus xymus left a comment

Choose a reason for hiding this comment

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

Thanks!

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