-
Notifications
You must be signed in to change notification settings - Fork 583
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
bug: Tuple type inference fails with iter.enumerate() #7155
Comments
May I pick this up? Looks like an interesting problem. |
@a-zmuth what do you know about the inference system? this is a rather complex problem - would really not recommend it as an "good first issue". this basically requires introducing an actual type for numeric literals - that would have Copy and Drop, and would be implicitly the same as all existing numeric types - so it would be converted into them. currently the issue is the fact that the |
This should be possible:
But fails with:
However this works fine:
The text was updated successfully, but these errors were encountered: