Skip to content

Conversation

@slavapestov
Copy link
Contributor

The underlying issue here won't be fixed in 5.4 and 5.5, so remove the
asserts to avoid allowing code in no-asserts builds that is rejected in
asserts builds.

Any code that builds with this assert commented out might fall victim
to an ABI break once the bug with same-type requirement minimization
is actually fixed.

"Fixes" https://bugs.swift.org/browse/SR-14776.

@slavapestov slavapestov requested a review from a team as a code owner June 21, 2021 21:10
@tomerd
Copy link
Contributor

tomerd commented Jun 21, 2021

@shahmishal we should pull this into the next 5.4 linux/windows dot release

@DougGregor
Copy link
Member

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 2bc2e16d7cd36c3599fa0c62728c9f0cec79c200

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 2bc2e16d7cd36c3599fa0c62728c9f0cec79c200

The underlying issue here won't be fixed in 5.4 and 5.5, so remove the
asserts to avoid allowing code in no-asserts builds that is rejected in
asserts builds.

Any code that builds with this assert commented out might fall victim
to an ABI break once the bug with same-type requirement minimization
is actually fixed.

"Fixes" https://bugs.swift.org/browse/SR-14776.
@slavapestov slavapestov force-pushed the allow-bogus-same-type-in-signature-5.4 branch from 2bc2e16 to cec3b11 Compare June 24, 2021 20:31
@slavapestov
Copy link
Contributor Author

@swift-ci please test

@drexin drexin merged commit 1eea4ff into swiftlang:release/5.4 Jul 23, 2021
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.

6 participants