-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Type inference issues when using intersection types #18226
Comments
IndiscriminateCoding
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Jul 17, 2023
nicolasstucki
added
area:typer
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Jul 17, 2023
I'm not sure if |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2023
Fixes scala#18226 Might fix some other reported issues with AndTypes as well.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2023
Fixes scala#18226 Might fix some other reported issues with AndTypes as well.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2023
Fixes scala#18226 Might fix some other reported issues with AndTypes as well.
I tried but #18235 got stuck with a zio problem, which someone else will need to debug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.3.0
Minimized code
Output
Expectation
I expect compiler to be able to infer
[R]
instantiation based on a type of a passed value.The text was updated successfully, but these errors were encountered: