You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./bin/dotc sandbox/test.scala
exception while transforming (f: Nothing) extends C(Predef.genericWrapArray([f()])) {
override <accessor> def f(): Nothing
def f(): scala.collection.Seq = this.f()
} of class class dotty.tools.dotc.ast.Trees$Template # 897
exception while transforming class D(f: Nothing) extends C(Predef.genericWrapArray([f()])) {
override <accessor> def f(): Nothing
def f(): scala.collection.Seq = this.f()
} of class class dotty.tools.dotc.ast.Trees$TypeDef # 898
exception while transforming package <empty> {
class C(f: scala.collection.Seq) extends Object() {
<accessor> def f(): scala.collection.Seq
}
final lazy module val C: C$ = new C$()
final module class C$() extends Object() { this: C$ =>}
class D(f: Nothing) extends C(Predef.genericWrapArray([f()])) {
override <accessor> def f(): Nothing
def f(): scala.collection.Seq = this.f()
}
final lazy module val D: D$ = new D$()
final module class D$() extends Object() { this: D$ =>}
} of class class dotty.tools.dotc.ast.Trees$PackageDef # 915
exception occurred while compiling sandbox/test.scala
Exception in thread "main" java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:420)
Followup from #617, /cc @smarter
The text was updated successfully, but these errors were encountered: