Skip to content
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

Force corelibs-xctest to build with -swift-version 4 #238

Merged
merged 1 commit into from Nov 16, 2018

Conversation

tkremenek
Copy link
Member

There may be a regression in the compiler's handling of @autoclosure, which prevents
xctest building in -swift-version 5. Temporarily hold it to -swift-version 4.

@tkremenek
Copy link
Member Author

This appears to workaround the compiler failure when moving the default language mode to Swift 5. This should be reverted later.

@tkremenek tkremenek merged commit 74dc4b7 into apple:master Nov 16, 2018
@slavapestov
Copy link
Member

slavapestov commented Nov 16, 2018

@tkremenek It's not a regression, it was apple/swift#20152. The old @autoclosure behavior was a bit quirky because we modeled it as a property of a type and not of a parameter.

@tkremenek
Copy link
Member Author

Thanks @slavapestov. I've reverted this and made the necessary changes in #239

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.

None yet

2 participants