-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Following code causes compiler to crash with: NoSuchElementException: head of empty list @ core.SymDenotations$SymDenotation.recurWithParamss$1(SymDenotations.scala:312)
#13238
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
Minimized to: foo.scala // Compile with Scala 2.13
trait Bar
class Foo {
def foo(out: Foo)(implicit bar: Bar): out.type = out
} boom.scala // no implicit of type Bar in scope
def boom(foo: Foo) = foo.foo(foo)
|
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 3, 2021
We could lose them for curried methods since the nested method type was copied in case there was a depencency on a parameter of the first method type. Fixes scala#13238
smarter
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Oct 4, 2021
We could lose them for curried methods since the nested method type was copied in case there was a depencency on a parameter of the first method type. Fixes scala#13238
olsdavis
pushed a commit
to olsdavis/dotty
that referenced
this issue
Apr 4, 2022
We could lose them for curried methods since the nested method type was copied in case there was a depencency on a parameter of the first method type. Fixes scala#13238
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.0.0
Minimized code
https://scastie.scala-lang.org/L6jYE1KFSYqlUA5S8UPfwg
It's the
file.unzipTo
line -- that code is here if it matters:unzipTo
nameWithoutExtension
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: