-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Simplify eager normalization of constants #63820
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
Looks good but I have one nlggling concern -- though maybe think it's pre-existing. Can we have type inference variables in the type of the constant (or some other place?). In that case we might want to invoke |
It's not possible to end up with an unevaluated I can add a debug assert assert here to make sure of that though. |
@bors r+ |
📌 Commit 181ed55 has been approved by |
oh, I thought you meant you had added such an assert -- in any case, I don't think it'd be catastrophic if an inference variable leaked through. We might ICE or be overly conservative, but I think not worse than that. |
Simplify eager normalization of constants r? @nikomatsakis
☀️ Test successful - checks-azure |
r? @nikomatsakis