-
Notifications
You must be signed in to change notification settings - Fork 830
Fix race in graph checking of type extensions #19062
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
❗ Release notes required
|
|
To unblock #19028 |
|
It has been too long since I understood all this, so could you high-level explain to me why this works? Does signature conformance happen after the parallel phase? |
No, it seems it just does SetIdent in the opposite direction sig -> impl. Or extended type -> extensions. :) So what is being mutated is naturally isolated by graph checking. This seems the only place this happens so we can save the declared ident here. |
|
Thanks, this is a clever solution. Well done! |
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Tomas Grosup <[email protected]>
Description
Fixes #19033
By saving the declared type argument name instead of mutating (possibly concurrently) the source typar.
Checklist