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-7610] Should-be-benign change breaks standard library #50152
Comments
@swift-ci create |
(Unfortunately it looks like |
My first suspicion is that this is an associated-type-inference issue, where this change is perturbing the exact decisions made about However, various strategies for helping the compiler, like adding {{public typealias Index = DictionaryIndex<Key, Value>}} to
|
Yep, the original problem seems to be associated type inference:
There's only one The work-around crashing seems worth a separate bug. |
Apparently this change works around the problem now. |
Ah, not entirely. We get the same crash later building the SIMD module. {code:none} Assertion failed: (entry.is<const TypeInfo*>() && "getting TypeInfo recursively!"), function getCompleteTypeInfo, file /Users/dave/src/s/swift/lib/IRGen/GenType.cpp, line 1367. |
This is related to SR-7605 |
Additional Detail from JIRA
md5: 2ba8b11b9c16831c05b7859b4a0d577f
Issue Description:
Reproduced with github/master at 154e8c3; this bug blocks progress on unifying Sequence and Collection. Applying [this change| dabrahams@f5c999e] should not cause any code to break, but instead:
The text was updated successfully, but these errors were encountered: