what happened |
exception when traversing ((x$0: Int) => x$0 match {
case twice.this.Twice.unapply() ((y @ _)) => scala.this.Predef.println("twice ".+(\
y))
})
exception when traversing private[this] val patterns: PartialFunction[Int,Unit] = ((x$0: Int) => x$0 match {
case twice.this.Twice.unapply() ((y @ _)) => scala.this.Predef.println("twice ".+(\
y))
})
...
Exception in thread "main" java.lang.Error: unexpected tree: class scala.tools.nsc.ast.Trees$UnApply
twice.this.Twice.unapply() ((y @ _))
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2737)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2769)
at scala.tools.nsc.typechecker.Typers$Typer.typedPattern(Typers.scala:2830)
at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:1274)
...
|