-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Assertion failed during retyping of inlined call. #11483
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
Labels
Comments
wrong-compiletime-only.crash.tar.gz |
The code has a bug. The call to case Apply(f,List(arg)) =>
val nArg = processTree[F,String](arg, m)
Apply(Apply(TypeApply(Select.unique(m,"map"),
List(Inferred(arg.tpe.widen),Inferred(t.tpe.widen))
),
List(nArg)),
- List(f)
+ List(f.etaExpand(Symbol.spliceOwner))
) |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Feb 25, 2021
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Feb 26, 2021
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Feb 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.0.0-RC2-bin-20210219-aa7c21e-NIGHTLY
When trying to extract small example for another bug report.
Minimized code
X.scala:
and Main.x:
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: