-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Match type not working unless ascribed or inlined (2) #11247
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
Comments
Related to #11236 |
It seems here the problem is that |
On second thought, I think it's OK to make an exception for match types here. It's expected that some match types don't reduce because the arguments are not sufficiently well known. In that case we should widen to the bound instead of failing with an error. |
Minimized code
Output
Expectation
They compile with the inline, they should also compile without it.
The text was updated successfully, but these errors were encountered: