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
[SR-6724] Swift 4.1 crash when using conditional conformance #49273
Comments
Comment by Chris Eidhof (JIRA) Here's a slightly larger example, in context: https://gist.github.com/chriseidhof/1b758b854ed72096490620a8d6128718 |
cc @DougGregor |
It does indeed seem to be the conditional conformance that's problematic. Slightly reduced:
The crash is infinite recursion:
Notes to future-fixer: the call is trying to build the SpecializedProtocolConformance for Also, this crashes even for non-direct recursion:
|
@swift-ci create |
Still crashes, now with request evaluator spew:
|
Related to #51259 and rdar://69901318 |
Additional Detail from JIRA
md5: 59c72f96768a3e17927760f3da82c35d
Issue Description:
I managed to crash the compiler without emitting an error message as I was experimenting with some conditional conformance stuff.
I tried to come up with a minimal example, and couldn't make it much shorter than this:
My feeling is that
extension Rec: Show where A.Rep: Show
is what made it break.The text was updated successfully, but these errors were encountered: