-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Version] Don't allow effective sub-versions, only major versions #5275
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
Conversation
@swift-ci please smoke test |
@swift-ci please smoke test |
The recent @escaping on variadic argument closures back-compat fix is the first Swift 3.0 compatibility behavior that we don't want to carry forwards indefinitely into the future. To address this, we version-gate the diagnostic suppression. Makes it an official compatibility check. Creates new test directory for compatibility testing. Allow -swift-version 4 so that we can test it both ways.
I agree |
@swift-ci please test |
Build failed |
@swift-ci please test |
@swift-ci please smoke test |
Build failed |
Also offer a note when the major version is valid on its own.
@swift-ci please smoke test |
1 similar comment
@swift-ci please smoke test |
Linux failure: /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test@2/branch-master/swiftpm/Sources/PackageLoading/Module+PkgConfig.swift:11:8: error: module file was created by an older version of the compiler; rebuild 'Basic' and try again: /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test@2/branch-master/buildbot_linux/swiftpm-linux-x86_64/debug/Basic.swiftmodule Is this due to incremental build? |
@swift-ci please clean smoke test linux platform |
Don't allow effective sub-versions, only major versions