-
Notifications
You must be signed in to change notification settings - Fork 1.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
Typer regression in contextual higher kinded types #15171
Labels
Milestone
Comments
WojciechMazur
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 12, 2022
prolativ
added
area:typer
regression
This worked in a previous version but doesn't anymore
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 12, 2022
It looks like the problem occurs only if class SelectLoop[F[_]](ctx: Ctx[F])
...
val s0 = Expr(new SelectLoop[F](ctx)) and class SelectLoop[F[_]](using ctx: Ctx[F])
...
given Ctx[F] = ctx
val s0 = Expr(new SelectLoop[F]) work correctly. |
Started failing in |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 18, 2022
bishabosha
pushed a commit
to dotty-staging/dotty
that referenced
this issue
May 20, 2022
bishabosha
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Oct 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Compiler version
3.2.0-RC1-bin-20220429-400427d-NIGHTLY
Works with 3.1.2
First bad commit fe40c59 in #14840
Minimized code
Based on https://github.com/rssh/dotty-cps-async/blob/7563fc15c0de9efffee3d166d01f0e83d1d20433/shared/src/test/scala/cps/gopherlike/SLBase.scala#L136-L148
Output
Expectation
Should compile like in the 3.1.2, without need for explicit type annotation
The text was updated successfully, but these errors were encountered: