Created
May 11, 2013 19:48
-
-
Save mauricio/5561181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala> import scala.concurrent.duration._ | |
| Failed to initialize the REPL due to an unexpected error. | |
| This is a bug, please, report it along with the error diagnostics printed below. | |
| java.lang.AssertionError: assertion failed: | |
| while compiling: <console> | |
| during phase: global=typer, atPhase=patmat | |
| library version: version 2.10.1 | |
| compiler version: version 2.10.1 | |
| reconstructed args: | |
| last tree to typer: Ident(scala) | |
| symbol: package scala (flags: final <module> <package> <java> <triedcooking>) | |
| symbol definition: final package scala | |
| tpe: scala.type | |
| symbol owners: package scala -> package <root> | |
| context owners: variable value -> object $eval -> package $line1 | |
| == Enclosing template or block == | |
| Template( // val <local $eval>: <notype> in object $eval | |
| "java.lang.Object" // parents | |
| ValDef( | |
| private | |
| "_" | |
| <tpt> | |
| <empty> | |
| ) | |
| // 3 statements | |
| DefDef( // def <init>(): $line1.$eval.type in object $eval | |
| <method> | |
| "<init>" | |
| [] | |
| List(Nil) | |
| <tpt> // tree.tpe=$line1.$eval.type | |
| Block( // tree.tpe=Unit | |
| Apply( // def <init>(): Object in class Object, tree.tpe=Object | |
| $eval.super."<init>" // def <init>(): Object in class Object, tree.tpe=()Object | |
| Nil | |
| ) | |
| () | |
| ) | |
| ) | |
| ValDef( // private[this] var value: <?> in object $eval | |
| private <mutable> <local> <locked> <defaultinit> | |
| "value" | |
| "scala"."tools"."nsc"."interpreter"."IMain" | |
| <empty> | |
| ) | |
| DefDef( // def set: <?> in object $eval | |
| <method> | |
| "set" | |
| [] | |
| // 1 parameter list | |
| ValDef( | |
| <param> | |
| "x" | |
| "Any" | |
| <empty> | |
| ) | |
| <tpt> | |
| Assign( | |
| "value" | |
| TypeApply( | |
| "x"."asInstanceOf" | |
| "scala"."tools"."nsc"."interpreter"."IMain" | |
| ) | |
| ) | |
| ) | |
| ) | |
| == Expanded type of tree == | |
| SingleType(pre = ThisType(package <root>), package scala) | |
| class Global$genJVM$ | |
| at scala.tools.nsc.symtab.SymbolLoaders.enterClassAndModule(SymbolLoaders.scala:101) | |
| at scala.tools.nsc.symtab.SymbolLoaders.initializeFromClassPath(SymbolLoaders.scala:138) | |
| at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader$$anonfun$doComplete$3.apply(SymbolLoaders.scala:232) | |
| at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader$$anonfun$doComplete$3.apply(SymbolLoaders.scala:231) | |
| at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772) | |
| at scala.collection.Iterator$class.foreach(Iterator.scala:727) | |
| at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) | |
| at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) | |
| at scala.collection.AbstractIterable.foreach(Iterable.scala:54) | |
| at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771) | |
| at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader.doComplete(SymbolLoaders.scala:231) | |
| at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:187) | |
| at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.load(SymbolLoaders.scala:203) | |
| at scala.reflect.internal.Symbols$Symbol.typeParams(Symbols.scala:1480) | |
| at scala.reflect.internal.Types$class.scala$reflect$internal$Types$$isRawIfWithoutArgs(Types.scala:4378) | |
| at scala.reflect.internal.Types$$anon$11.apply(Types.scala:4400) | |
| at scala.reflect.internal.Symbols$TermSymbol.scala$reflect$internal$Symbols$TermSymbol$$cook$1(Symbols.scala:2572) | |
| at scala.reflect.internal.Symbols$TermSymbol.doCookJavaRawInfo(Symbols.scala:2580) | |
| at scala.reflect.internal.Symbols$Symbol.cookJavaRawInfo(Symbols.scala:1433) | |
| at scala.tools.nsc.typechecker.Infer$Inferencer.checkAccessible(Infer.scala:374) | |
| at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$makeAccessible(Typers.scala:603) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$102.apply(Typers.scala:4857) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$102.apply(Typers.scala:4857) | |
| at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:726) | |
| at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedSelect$1(Typers.scala:4853) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4938) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5551) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5710) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5716) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4918) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5551) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5710) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5716) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4918) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5551) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:5749) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:5752) | |
| at scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1311) | |
| at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1450) | |
| at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1459) | |
| at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:725) | |
| at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:724) | |
| at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:724) | |
| at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1492) | |
| at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:724) | |
| at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:723) | |
| at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1607) | |
| at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1615) | |
| at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1605) | |
| at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1229) | |
| at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1365) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5282) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2921) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$62.apply(Typers.scala:3025) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$62.apply(Typers.scala:3025) | |
| 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:3025) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1914) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1794) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5572) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2921) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$62.apply(Typers.scala:3025) | |
| at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$62.apply(Typers.scala:3025) | |
| 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:3025) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5288) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5575) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5630) | |
| at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5687) | |
| at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99) | |
| at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:463) | |
| at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91) | |
| at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91) | |
| at scala.collection.Iterator$class.foreach(Iterator.scala:727) | |
| at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) | |
| at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:91) | |
| at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1582) | |
| at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1556) | |
| at scala.tools.nsc.Global$Run.compileSources(Global.scala:1552) | |
| at scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:428) | |
| at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:801) | |
| at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:761) | |
| at scala.tools.nsc.interpreter.IMain.bind(IMain.scala:618) | |
| at scala.tools.nsc.interpreter.IMain.bind(IMain.scala:661) | |
| at scala.tools.nsc.interpreter.IMain$$anonfun$quietBind$1.apply(IMain.scala:660) | |
| at scala.tools.nsc.interpreter.IMain$$anonfun$quietBind$1.apply(IMain.scala:660) | |
| at scala.tools.nsc.interpreter.IMain.beQuietDuring(IMain.scala:232) | |
| at scala.tools.nsc.interpreter.IMain.quietBind(IMain.scala:660) | |
| at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1$$anonfun$apply$mcZ$sp$2.apply$mcV$sp(ILoop.scala:838) | |
| at scala.tools.nsc.interpreter.ILoopInit$class.runThunks(ILoopInit.scala:122) | |
| at scala.tools.nsc.interpreter.ILoop.runThunks(ILoop.scala:42) | |
| at scala.tools.nsc.interpreter.ILoopInit$class.postInitialization(ILoopInit.scala:95) | |
| at scala.tools.nsc.interpreter.ILoop.postInitialization(ILoop.scala:42) | |
| at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply$mcV$sp(ILoopInit.scala:63) | |
| at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply(ILoopInit.scala:60) | |
| at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply(ILoopInit.scala:60) | |
| at scala.tools.nsc.io.package$$anon$3.call(package.scala:40) | |
| at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
| at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) | |
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) | |
| at java.lang.Thread.run(Thread.java:722) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment