Skip to content
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

graceless failure of stub symbols in erasure phase #8502

Closed
scabug opened this issue Apr 14, 2014 · 6 comments
Closed

graceless failure of stub symbols in erasure phase #8502

scabug opened this issue Apr 14, 2014 · 6 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Apr 14, 2014

  ~/code/scala tail sandbox/{b,c}.scala; scalac-hash v2.11.0-RC4 sandbox/{b,c}.scala; rm -rf akka/event; scalac-hash v2.11.0-RC4 -Ydebug sandbox/c.scala
==> sandbox/b.scala <==

package spray {
  trait TransformerPipelineSupport {

    def logValue[T](log: akka.event.LoggingAdapter, level: akka.event.Logging.LogLevel): T ⇒ T = ???
  }

  trait RequestBuilding extends TransformerPipelineSupport
  object RequestBuilding extends RequestBuilding
}

==> sandbox/c.scala <==
trait Test {
  spray.RequestBuilding
}
[running phase parser on c.scala]
[running phase namer on c.scala]
[running phase packageobjects on c.scala]
[running phase typer on c.scala]
[running phase patmat on c.scala]
[running phase superaccessors on c.scala]
[running phase extmethods on c.scala]
[running phase pickler on c.scala]
[running phase refchecks on c.scala]
[running phase uncurry on c.scala]
[running phase tailcalls on c.scala]
[running phase specialize on c.scala]
[running phase explicitouter on c.scala]
[running phase erasure on c.scala]
warning: !!! creating stub symbol to defer error: bad symbolic reference to akka.event encountered in class file 'TransformerPipelineSupport.class'.
Cannot access term event in package class akka. The current classpath may be
missing a definition for akka.event, or TransformerPipelineSupport.class may have been compiled against a version that's
incompatible with the one found on the current classpath.
error: scala.reflect.internal.Types$TypeError: bad symbolic reference to akka.event encountered in class file 'TransformerPipelineSupport.class'.
Cannot access term event in package class akka. The current classpath may be
missing a definition for akka.event, or TransformerPipelineSupport.class may have been compiled against a version that's
incompatible with the one found on the current classpath.
	at scala.reflect.internal.pickling.UnPickler$Scan.toTypeError(UnPickler.scala:675)
	at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.completeInternal(UnPickler.scala:690)
	at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.complete(UnPickler.scala:693)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1429)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.loop$1(TypeMaps.scala:227)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.noChangeToSymbols(TypeMaps.scala:229)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:243)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:128)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:51)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:134)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:51)
	at scala.reflect.internal.transform.UnCurry$class.transformInfo(UnCurry.scala:78)
	at scala.tools.nsc.transform.UnCurry.transformInfo(UnCurry.scala:47)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes.specializedParams(SpecializeTypes.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$normalizeMember(SpecializeTypes.scala:821)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$23.apply(SpecializeTypes.scala:767)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$23.apply(SpecializeTypes.scala:765)
	at scala.collection.immutable.List.flatMap(List.scala:329)
	at scala.tools.nsc.transform.SpecializeTypes.specializeClass(SpecializeTypes.scala:765)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1186)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.collection.immutable.List.map(List.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.collection.immutable.List.map(List.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.reflect.internal.Symbols$Symbol.isDerivedValueClass(Symbols.scala:775)
	at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:131)
	at scala.reflect.internal.transform.Erasure$class.specialErasure(Erasure.scala:205)
	at scala.tools.nsc.transform.Erasure.specialErasure(Erasure.scala:15)
	at scala.reflect.internal.transform.Erasure$class.transformInfo(Erasure.scala:364)
	at scala.tools.nsc.transform.Erasure.transformInfo(Erasure.scala:348)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.reflect.internal.Symbols$Symbol.tpe_$times(Symbols.scala:1392)
	at scala.reflect.internal.Symbols$Symbol.isErroneous(Symbols.scala:766)
	at scala.reflect.internal.Printers$class.symNameInternal(Printers.scala:38)
	at scala.reflect.internal.Printers$class.symName(Printers.scala:47)
	at scala.reflect.internal.SymbolTable.symName(SymbolTable.scala:16)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:460)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:96)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:97)
	at scala.reflect.internal.Printers$TreePrinter.printColumn(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:371)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:332)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:96)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:97)
	at scala.reflect.internal.Printers$TreePrinter.printColumn(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printPackageDef(Printers.scala:211)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:335)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.api.Printers$class.render(Printers.scala:185)
	at scala.reflect.api.Universe.render(Universe.scala:61)
	at scala.reflect.api.Printers$class.show(Printers.scala:201)
	at scala.reflect.api.Universe.show(Universe.scala:61)
	at scala.reflect.api.Printers$class.treeToString(Printers.scala:193)
	at scala.reflect.api.Universe.treeToString(Universe.scala:61)
	at scala.reflect.api.Trees$TreeApi$class.toString(Trees.scala:178)
	at scala.reflect.internal.Trees$TreeContextApiImpl.toString(Trees.scala:102)
	at java.lang.String.valueOf(String.java:2979)
	at scala.collection.mutable.StringBuilder.append(StringBuilder.scala:198)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:670)
	at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5303)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedInternal(Typers.scala:5330)
	at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5277)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5281)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5355)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1138)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1134)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1134)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:713)
	at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:147)
	at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:430)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:397)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:397)
	at scala.collection.Iterator$class.foreach(Iterator.scala:743)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1174)
	at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:397)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1625)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1610)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1605)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1703)
	at scala.tools.nsc.Driver.doCompile(Driver.scala:34)
	at scala.tools.nsc.MainClass.doCompile(Main.scala:23)
	at scala.tools.nsc.Driver.process(Driver.scala:55)
	at scala.tools.nsc.Driver.main(Driver.scala:68)
	at scala.tools.nsc.Main.main(Main.scala)
Exception in thread "main" scala.reflect.internal.Types$TypeError: bad symbolic reference to akka.event encountered in class file 'TransformerPipelineSupport.class'.
Cannot access term event in package class akka. The current classpath may be
missing a definition for akka.event, or TransformerPipelineSupport.class may have been compiled against a version that's
incompatible with the one found on the current classpath.
	at scala.reflect.internal.pickling.UnPickler$Scan.toTypeError(UnPickler.scala:675)
	at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.completeInternal(UnPickler.scala:690)
	at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.complete(UnPickler.scala:693)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1429)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.loop$1(TypeMaps.scala:227)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.noChangeToSymbols(TypeMaps.scala:229)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:243)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:128)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:51)
	at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:134)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:51)
	at scala.reflect.internal.transform.UnCurry$class.transformInfo(UnCurry.scala:78)
	at scala.tools.nsc.transform.UnCurry.transformInfo(UnCurry.scala:47)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes.specializedParams(SpecializeTypes.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$normalizeMember(SpecializeTypes.scala:821)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$23.apply(SpecializeTypes.scala:767)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$23.apply(SpecializeTypes.scala:765)
	at scala.collection.immutable.List.flatMap(List.scala:329)
	at scala.tools.nsc.transform.SpecializeTypes.specializeClass(SpecializeTypes.scala:765)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1186)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.collection.immutable.List.map(List.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$37.apply(SpecializeTypes.scala:1178)
	at scala.collection.immutable.List.map(List.scala:278)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1178)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1178)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.reflect.internal.Symbols$Symbol.isDerivedValueClass(Symbols.scala:775)
	at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:131)
	at scala.reflect.internal.transform.Erasure$class.specialErasure(Erasure.scala:205)
	at scala.tools.nsc.transform.Erasure.specialErasure(Erasure.scala:15)
	at scala.reflect.internal.transform.Erasure$class.transformInfo(Erasure.scala:364)
	at scala.tools.nsc.transform.Erasure.transformInfo(Erasure.scala:348)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1519)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1439)
	at scala.reflect.internal.Symbols$Symbol.tpe_$times(Symbols.scala:1392)
	at scala.reflect.internal.Symbols$Symbol.isErroneous(Symbols.scala:766)
	at scala.reflect.internal.Printers$class.symNameInternal(Printers.scala:38)
	at scala.reflect.internal.Printers$class.symName(Printers.scala:47)
	at scala.reflect.internal.SymbolTable.symName(SymbolTable.scala:16)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:460)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:96)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:97)
	at scala.reflect.internal.Printers$TreePrinter.printColumn(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:371)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:332)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter$$anonfun$printColumn$2.apply(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:96)
	at scala.reflect.internal.Printers$TreePrinter.printSeq(Printers.scala:97)
	at scala.reflect.internal.Printers$TreePrinter.printColumn(Printers.scala:102)
	at scala.reflect.internal.Printers$TreePrinter.printPackageDef(Printers.scala:211)
	at scala.reflect.internal.Printers$TreePrinter.printTree(Printers.scala:335)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:20)
	at scala.tools.nsc.ast.Printers$TreePrinter$$anonfun$print$1.apply(Printers.scala:17)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
	at scala.tools.nsc.ast.Printers$TreePrinter.print(Printers.scala:17)
	at scala.reflect.api.Printers$class.render(Printers.scala:185)
	at scala.reflect.api.Universe.render(Universe.scala:61)
	at scala.reflect.api.Printers$class.show(Printers.scala:201)
	at scala.reflect.api.Universe.show(Universe.scala:61)
	at scala.reflect.api.Printers$class.treeToString(Printers.scala:193)
	at scala.reflect.api.Universe.treeToString(Universe.scala:61)
	at scala.reflect.api.Trees$TreeApi$class.toString(Trees.scala:178)
	at scala.reflect.internal.Trees$TreeContextApiImpl.toString(Trees.scala:102)
	at java.lang.String.valueOf(String.java:2979)
	at scala.collection.mutable.StringBuilder.append(StringBuilder.scala:198)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:670)
	at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5303)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedInternal(Typers.scala:5330)
	at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5277)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5281)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5355)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1138)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1134)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:242)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:263)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1134)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:713)
	at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:147)
	at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:430)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:397)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:397)
	at scala.collection.Iterator$class.foreach(Iterator.scala:743)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1174)
	at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:397)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1625)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1610)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1605)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1703)
	at scala.tools.nsc.Driver.doCompile(Driver.scala:34)
	at scala.tools.nsc.MainClass.doCompile(Main.scala:23)
	at scala.tools.nsc.Driver.process(Driver.scala:55)
	at scala.tools.nsc.Driver.main(Driver.scala:68)
	at scala.tools.nsc.Main.main(Main.scala)
  ~/code/scala
@scabug
Copy link
Author

scabug commented Apr 14, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8502?orig=1
Reporter: @retronym
Affected Versions: 2.10.3

@scabug
Copy link
Author

scabug commented Apr 14, 2014

@retronym said:
Let's clean up the ad-hoc crash-reporting code in Erasure while we're at it.

@scabug
Copy link
Author

scabug commented Apr 14, 2014

@retronym said:
I think the minimization wasn't quite spot on. This was the place reported error:

  ~/code/scala scalac-hash v2.10.3 -classpath $HOME/.ivy2/cache/io.spray/spray-httpx/jars/spray-httpx-1.2-RC1.jar:$HOME/.ivy2/cache/io.spray/spray-http/jars/spray-http-1.2-RC1.jar sandbox/c.scala
error: bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term akka
in package <root> which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class.
exception when typing spray.httpx.RequestBuilding/class scala.reflect.internal.Trees$Select
bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term event
in value akka which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class. in file sandbox/c.scala
scala.reflect.internal.Types$TypeError: bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term event
in value akka which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class.
	at scala.reflect.internal.pickling.UnPickler$Scan.toTypeError(UnPickler.scala:847)
	at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.complete(UnPickler.scala:854)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1229)
	at scala.reflect.internal.Types$TypeMap$$anonfun$noChangeToSymbols$1.apply(Types.scala:4280)
	at scala.reflect.internal.Types$TypeMap$$anonfun$noChangeToSymbols$1.apply(Types.scala:4280)
	at scala.collection.LinearSeqOptimized$class.forall(LinearSeqOptimized.scala:70)
	at scala.collection.immutable.List.forall(List.scala:84)
	at scala.reflect.internal.Types$TypeMap.noChangeToSymbols(Types.scala:4280)
	at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4293)
	at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4196)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:42)
	at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4202)
	at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:42)
	at scala.reflect.internal.transform.UnCurry$class.transformInfo(UnCurry.scala:69)
	at scala.tools.nsc.transform.UnCurry.transformInfo(UnCurry.scala:46)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239)
	at scala.tools.nsc.transform.SpecializeTypes.specializedParams(SpecializeTypes.scala:269)
	at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$normalizeMember(SpecializeTypes.scala:805)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$22.apply(SpecializeTypes.scala:751)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$22.apply(SpecializeTypes.scala:749)
	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
	at scala.tools.nsc.transform.SpecializeTypes.specializeClass(SpecializeTypes.scala:749)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1172)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164)
	at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
	at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164)
	at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
	at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216)
	at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1164)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239)
	at scala.reflect.internal.Symbols$Symbol.isDerivedValueClass(Symbols.scala:658)
	at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:131)
	at scala.reflect.internal.transform.Erasure$class.specialErasure(Erasure.scala:205)
	at scala.tools.nsc.transform.Erasure.specialErasure(Erasure.scala:14)
	at scala.reflect.internal.transform.Erasure$class.transformInfo(Erasure.scala:380)
	at scala.tools.nsc.transform.Erasure.transformInfo(Erasure.scala:329)
	at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
	at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
	at scala.tools.nsc.typechecker.Typers$Typer.isStale(Typers.scala:549)
	at scala.tools.nsc.typechecker.Typers$Typer.reallyExists(Typers.scala:541)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedSelect$1(Typers.scala:4773)
	at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4899)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5529)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.collection.immutable.List.loop$1(List.scala:170)
	at scala.collection.immutable.List.mapConserve(List.scala:186)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918)
	at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.collection.immutable.List.loop$1(List.scala:170)
	at scala.collection.immutable.List.mapConserve(List.scala:186)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5267)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5553)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5670)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1291)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1287)
	at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
	at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1287)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:888)
	at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227)
	at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
	at scala.tools.nsc.Driver.doCompile(Driver.scala:33)
	at scala.tools.nsc.Main$.doCompile(Main.scala:79)
	at scala.tools.nsc.Driver.process(Driver.scala:54)
	at scala.tools.nsc.Driver.main(Driver.scala:67)
	at scala.tools.nsc.Main.main(Main.scala)
error: unrecoverable error
exception when typing abstract trait Test$class extends Object with Test {
  def /*Test$class*/$init$(): Unit = {
    ()
  };
  spray.httpx.RequestBuilding
}
exception when typing package <empty> {
  abstract trait Test extends Object;
  abstract trait Test$class extends Object with Test {
    def /*Test$class*/$init$(): Unit = {
      ()
    };
    spray.httpx.RequestBuilding
  }
}
unhandled exception while transforming c.scala
error: uncaught exception during compilation: scala.reflect.internal.FatalError
error: scala.reflect.internal.FatalError:
     while compiling: sandbox/c.scala
        during phase: global=erasure, atPhase=posterasure
     library version: version 2.10.3-20130923-060037-e2fec6b28d
    compiler version: version 2.10.3-20130923-060037-e2fec6b28d
  reconstructed args: -classpath /Users/jason/.ivy2/cache/io.spray/spray-httpx/jars/spray-httpx-1.2-RC1.jar:/Users/jason/.ivy2/cache/io.spray/spray-http/jars/spray-http-1.2-RC1.jar

  last tree to typer: Ident(spray)
              symbol: package spray (flags: final <module> <package> <java> <triedcooking>)
   symbol definition: final package spray
                 tpe: spray.type
       symbol owners: package spray -> package <root>
      context owners: value <local Test$class> -> class Test$class -> package <empty>

== Enclosing template or block ==

Template( // val <local Test$class>: <notype> in class Test$class
  "java.lang.Object", "Test" // parents
  ValDef(
    private
    "_"
    <tpt>
    <empty>
  )
  // 2 statements
  DefDef( // def $init$(): Unit in class Test$class
    <method>
    "$init$"
    []
    List(Nil)
    <tpt> // tree.tpe=Unit
    Block( // tree.tpe=Unit
      {}
      ()
    )
  )
  "spray"."httpx"."RequestBuilding" // sym= <error> bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term event
in value akka which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class.
)

== Expanded type of tree ==

TypeRef(TypeSymbol(final class spray extends ))

unrecoverable error
	at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:49)
	at scala.tools.nsc.Global.abort(Global.scala:254)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:842)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.collection.immutable.List.loop$1(List.scala:170)
	at scala.collection.immutable.List.mapConserve(List.scala:186)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918)
	at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
	at scala.collection.immutable.List.loop$1(List.scala:170)
	at scala.collection.immutable.List.mapConserve(List.scala:186)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5267)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5553)
	at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5670)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1291)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1287)
	at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
	at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1287)
	at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:888)
	at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227)
	at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
	at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
	at scala.tools.nsc.Driver.doCompile(Driver.scala:33)
	at scala.tools.nsc.Main$.doCompile(Main.scala:79)
	at scala.tools.nsc.Driver.process(Driver.scala:54)
	at scala.tools.nsc.Driver.main(Driver.scala:67)
	at scala.tools.nsc.Main.main(Main.scala)

  ~/code/scala

Notize the "unrecoverable error" part, added by the Erasure tree transformer.

@scabug
Copy link
Author

scabug commented Aug 5, 2014

@gkossakowski said:
The 2.11.2 is out so I'm rescheduling the issue for 2.11.3.

@scabug
Copy link
Author

scabug commented Nov 4, 2014

@retronym said:
Updating fix-by version to 2.11.5.

@scabug
Copy link
Author

scabug commented Nov 7, 2014

@retronym said:
scala/scala#4111

@scabug scabug closed this as completed Nov 28, 2014
@scabug scabug added this to the 2.11.5 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants