-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Emit debug info for generic type aliases. … #29699
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 test |
Build failed |
ugh.
|
Build failed |
This is quite interesting. By changing this, we also prefer the decl types of bound generic types, so we end up with types like struct<τ_0_0> instead of struct in the debug info. I think what I really want to do is collect all the type aliases in the decl type and reverse-substitute them in the SIL type. |
Before comparing the potential sugared type for equality is needs to be mapped into the context to resolve generic type parameters to primary archetypes. <rdar://problem/59238327>
9d1d652
to
e932580
Compare
Found a much simpler fix... used the mapped type instead of the decl type. |
@swift-ci test and merge |
1 similar comment
@swift-ci test and merge |
Before comparing the potential sugared type for euqality is needs to be mapped
into the context to resolve generic type parameters to primary archetypes.
rdar://problem/59238327