-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I changed my Kiama library's sbt build scalaVersion from 2.10.0 to 2.10.1-RC1 and now when I compile I get a stack overflow in the typer. All was fine with 2.10.0.
I'm still narrowing the code down but I wanted to report it quickly since this is an RC.
The attached file Rewriter.scala contains the childSeq method in which the crash occurs (line 438). I've attached the crash report and the top of the stack trace is:
[error] uncaught exception during compilation: java.lang.StackOverflowError
java.lang.StackOverflowError
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239)
at scala.reflect.internal.Types$TypeRef.initializedTypeParams(Types.scala:2400)
at scala.reflect.internal.Types$TypeRef.typeParamsMatchArgs(Types.scala:2401)
at scala.reflect.internal.Types$AliasTypeRef$class.dealias(Types.scala:2224)
at scala.reflect.internal.Types$TypeRef$$anon$1.dealias(Types.scala:2526)
at scala.tools.nsc.typechecker.Typers$Typer.dropExistential(Typers.scala:224)
at scala.tools.nsc.typechecker.Typers$Typer.dropExistential(Typers.scala:225)
at scala.tools.nsc.typechecker.Typers$Typer.dropExistential(Typers.scala:225)
at scala.tools.nsc.typechecker.Typers$Typer.dropExistential(Typers.scala:225)
at scala.tools.nsc.typechecker.Typers$Typer.dropExistential(Typers.scala:225)