java.lang.AssertionError: assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>))

Scala JIRA | Jason Zaugg | 5 years ago
  1. 0

    Given: {code} class ScalaColls(n: Int) { Array.fill(n)(null) } {code} This compiles under: * Scala 2.9.2, with and without -optimize, with and without the REPL * Scala 2.10.0-SNAPSHOT, without the REPL, or with the REPL but without -optimize The glorious crash dump runs like this: {code} ~/code/scala ./build/pack/bin/scala -optimize -Xprint:typer Welcome to Scala version 2.10.0-20120511-110655-3511e5960d (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_29). Type in expressions to have them evaluated. Type :help for more information. ... scala> :reset Resetting interpreter state. Forgetting all expression results and named terms: $intp scala> :load /Users/jason/code/scratch/t3463a.scala Loading /Users/jason/code/scratch/t3463a.scala... [[syntax trees at end of typer]]// Scala source: <console> package $line3 { object $read extends scala.AnyRef { def <init>(): $line3.$read.type = { $read.super.<init>(); () }; object $iw extends scala.AnyRef { def <init>(): $line3.$read.$iw.type = { $iw.super.<init>(); () }; object $iw extends scala.AnyRef { def <init>(): $line3.$read.$iw.$iw.type = { $iw.super.<init>(); () }; class ScalaColls extends scala.AnyRef { <paramaccessor> private[this] val n: Int = _; def <init>(n: Int): ScalaColls = { ScalaColls.super.<init>(); () }; scala.Array.fill[Null](ScalaColls.this.n)(null)(ClassTag.Null) } } } } } error: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$ScalaColls -> package $line3 context owners: anonymous class $read$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: ScalaColls): ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: ScalaColls <param> "$outer" <tpt> // tree.tpe=ScalaColls <empty> ) <tpt> // tree.tpe=ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> uncaught exception during compilation: java.lang.AssertionError java.lang.AssertionError: assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>)) at scala.Predef$.assert(Predef.scala:182) at scala.tools.nsc.Global.assert(Global.scala:189) at scala.tools.nsc.transform.Mixin.mixinImplClassMembers$1(Mixin.scala:272) at scala.tools.nsc.transform.Mixin$$anonfun$addMixedinMembers$2.apply(Mixin.scala:369) at scala.tools.nsc.transform.Mixin$$anonfun$addMixedinMembers$2.apply(Mixin.scala:364) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:759) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:77) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:758) at scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:364) at scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:361) at scala.tools.nsc.transform.Mixin$MixinTransformer.preTransform(Mixin.scala:531) at scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245) at scala.reflect.api.Trees$Transformer.transformTemplate(Trees.scala:1551) at scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1445) at scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1444) at scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574) at scala.reflect.api.Trees$Transformer.transform(Trees.scala:1443) at scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245) at scala.reflect.api.Trees$Transformer$$anonfun$transformStats$2.apply(Trees.scala:1567) at scala.reflect.api.Trees$Transformer$$anonfun$transformStats$2.apply(Trees.scala:1565) at scala.collection.immutable.List.loop$1(List.scala:163) at scala.collection.immutable.List.mapConserve(List.scala:179) at scala.reflect.api.Trees$Transformer.transformStats(Trees.scala:1565) at scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439) at scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439) at scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574) at scala.reflect.api.Trees$Transformer.transform(Trees.scala:1438) at scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245) at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:228) at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:432) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:392) at scala.collection.Iterator$class.foreach(Iterator.scala:724) at scala.collection.AbstractIterator.foreach(Iterator.scala:1152) at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:392) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1400) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1373) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1367) at scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:461) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:845) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:803) at scala.tools.nsc.interpreter.IMain$Request.compile$lzycompute(IMain.scala:979) at scala.tools.nsc.interpreter.IMain$Request.compile(IMain.scala:974) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:629) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:595) at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:826) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883) at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883) at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883) at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:783) at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647) at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654) at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:667) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:664) at scala.tools.nsc.io.Streamable$Chars$class.applyReader(Streamable.scala:99) at scala.tools.nsc.io.File.applyReader(File.scala:77) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ILoop.scala:664) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664) at scala.tools.nsc.interpreter.ILoop.savingReplayStack(ILoop.scala:141) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply$mcV$sp(ILoop.scala:663) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663) at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663) at scala.tools.nsc.interpreter.ILoop.savingReader(ILoop.scala:146) at scala.tools.nsc.interpreter.ILoop.interpretAllFrom(ILoop.scala:662) at scala.tools.nsc.interpreter.ILoop$$anonfun$loadCommand$1.apply(ILoop.scala:726) at scala.tools.nsc.interpreter.ILoop$$anonfun$loadCommand$1.apply(ILoop.scala:725) at scala.Function1$class.apply$mcVL$sp(Function1.scala:39) at scala.runtime.AbstractFunction1.apply$mcVL$sp(AbstractFunction1.scala:12) at scala.tools.nsc.interpreter.ILoop.withFile(ILoop.scala:719) at scala.tools.nsc.interpreter.ILoop.loadCommand(ILoop.scala:725) at scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291) at scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291) at scala.tools.nsc.interpreter.LoopCommands$LineCmd.apply(LoopCommands.scala:81) at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:778) at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647) at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654) at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:962) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924) at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:157) at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:924) at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:79) at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:92) at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:101) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala) Abandoning crashed session. {code} My attempts to reproduce the issue outside of the REPL by mimicing its wrapper objects failed: {code} // compiles under scalac -optimize package $line3 { object $read extends scala.AnyRef { object $iw extends scala.AnyRef { object $iw extends scala.AnyRef { class ScalaColls(n: Int) extends scala.AnyRef { scala.Array.fill[Null](ScalaColls.this.n)(null)(ClassTag.Null) } } } } } {code}

    Scala JIRA | 5 years ago | Jason Zaugg
    java.lang.AssertionError: assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>))
  2. 0

    Cannot use coref

    GitHub | 3 years ago | schmmd
    java.lang.AssertionError: assertion failed: Could not find annotator for goal class cc.factorie.app.nlp.phrase.NounPhraseList, map includes class cc.factorie.app.nlp.phrase.NumberLabel, class cc.factorie.app.nlp.ner.NerTag, class cc.factorie.app.nlp.lemma.SimplifyDigitsTokenLemma, class cc.factorie.app.nlp.coref.mention.ParseBasedMentionList, class cc.factorie.app.nlp.pos.PennPosTag, class cc.factorie.app.nlp.segment.PlainNormalizedTokenString, class cc.factorie.app.nlp.Token, class cc.factorie.app.nlp.ner.BilouConllNerTag, class cc.factorie.app.nlp.coref.mention.MentionEntityType, class cc.factorie.util.coref.GenericEntityMap, class cc.factorie.app.nlp.lemma.CollapseDigitsTokenLemma, class cc.factorie.app.nlp.ner.BilouOntonotesNerTag, class cc.factorie.app.nlp.phrase.GenderLabel, class cc.factorie.app.nlp.lemma.WordNetTokenLemma, class cc.factorie.app.nlp.parse.ParseTree, class cc.factorie.app.nlp.Sentence, class cc.factorie.app.nlp.lemma.PorterTokenLemma, class cc.factorie.app.nlp.coref.mention.NerMentionList, class cc.factorie.app.nlp.lemma.LowercaseTokenLemma
  3. 0

    AssertionError when trying to compile

    GitHub | 4 years ago | harrah
    java.lang.AssertionError: assertion failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AssertionError from MergeDescriptors

    GitHub | 4 years ago | harrah
    java.lang.AssertionError: assertion failed
  6. 0

    Error when running profile with Cypher query

    GitHub | 3 years ago | peterneubauer
    java.lang.AssertionError: assertion failed: Can't profile the same pipe twice: NullPipe(SymbolTable(Map(a -> Node, b -> Node)),Eager() Filter(pred="Property(b,name(0)) == Literal(Central)") NodeByLabel(label="Division", identifier="b") Filter(pred="Property(a,name(0)) == Literal(East)") NodeByLabel(label="Conference", identifier="a"))

  1. rp 1 times, last 1 month ago
  2. poroszd 1 times, last 4 months ago
  3. rp 1 times, last 9 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>))

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:182)
    1 frame
  3. Scala Compiler
    Mixin$$anonfun$addMixedinMembers$2.apply
    1. scala.tools.nsc.Global.assert(Global.scala:189)
    2. scala.tools.nsc.transform.Mixin.mixinImplClassMembers$1(Mixin.scala:272)
    3. scala.tools.nsc.transform.Mixin$$anonfun$addMixedinMembers$2.apply(Mixin.scala:369)
    4. scala.tools.nsc.transform.Mixin$$anonfun$addMixedinMembers$2.apply(Mixin.scala:364)
    4 frames
  4. Scala
    TraversableLike$WithFilter.foreach
    1. scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:759)
    2. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
    3. scala.collection.immutable.List.foreach(List.scala:77)
    4. scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:758)
    4 frames
  5. Scala Compiler
    Mixin$MixinTransformer.transform
    1. scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:364)
    2. scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:361)
    3. scala.tools.nsc.transform.Mixin$MixinTransformer.preTransform(Mixin.scala:531)
    4. scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245)
    4 frames
  6. Scala
    Trees$Transformer.transform
    1. scala.reflect.api.Trees$Transformer.transformTemplate(Trees.scala:1551)
    2. scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1445)
    3. scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1444)
    4. scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574)
    5. scala.reflect.api.Trees$Transformer.transform(Trees.scala:1443)
    5 frames
  7. Scala Compiler
    Mixin$MixinTransformer.transform
    1. scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245)
    1 frame
  8. Scala
    Trees$Transformer$$anonfun$transformStats$2.apply
    1. scala.reflect.api.Trees$Transformer$$anonfun$transformStats$2.apply(Trees.scala:1567)
    2. scala.reflect.api.Trees$Transformer$$anonfun$transformStats$2.apply(Trees.scala:1565)
    2 frames
  9. Scala
    List.mapConserve
    1. scala.collection.immutable.List.loop$1(List.scala:163)
    2. scala.collection.immutable.List.mapConserve(List.scala:179)
    2 frames
  10. Scala
    Trees$Transformer.transform
    1. scala.reflect.api.Trees$Transformer.transformStats(Trees.scala:1565)
    2. scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439)
    3. scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439)
    4. scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574)
    5. scala.reflect.api.Trees$Transformer.transform(Trees.scala:1438)
    5 frames
  11. Scala Compiler
    Global$GlobalPhase$$anonfun$run$1.apply
    1. scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245)
    2. scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:228)
    3. scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
    4. scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:432)
    5. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
    6. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:392)
    6 frames
  12. Scala
    AbstractIterator.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:724)
    2. scala.collection.AbstractIterator.foreach(Iterator.scala:1152)
    2 frames
  13. Scala Compiler
    ILoop$$anonfun$loadCommand$1.apply
    1. scala.tools.nsc.Global$GlobalPhase.run(Global.scala:392)
    2. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1400)
    3. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1373)
    4. scala.tools.nsc.Global$Run.compileSources(Global.scala:1367)
    5. scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:461)
    6. scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:845)
    7. scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:803)
    8. scala.tools.nsc.interpreter.IMain$Request.compile$lzycompute(IMain.scala:979)
    9. scala.tools.nsc.interpreter.IMain$Request.compile(IMain.scala:974)
    10. scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:629)
    11. scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:595)
    12. scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:826)
    13. scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
    14. scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844)
    15. scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
    16. scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844)
    17. scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
    18. scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:783)
    19. scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647)
    20. scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654)
    21. scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657)
    22. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:667)
    23. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:664)
    24. scala.tools.nsc.io.Streamable$Chars$class.applyReader(Streamable.scala:99)
    25. scala.tools.nsc.io.File.applyReader(File.scala:77)
    26. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ILoop.scala:664)
    27. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664)
    28. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664)
    29. scala.tools.nsc.interpreter.ILoop.savingReplayStack(ILoop.scala:141)
    30. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply$mcV$sp(ILoop.scala:663)
    31. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663)
    32. scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663)
    33. scala.tools.nsc.interpreter.ILoop.savingReader(ILoop.scala:146)
    34. scala.tools.nsc.interpreter.ILoop.interpretAllFrom(ILoop.scala:662)
    35. scala.tools.nsc.interpreter.ILoop$$anonfun$loadCommand$1.apply(ILoop.scala:726)
    36. scala.tools.nsc.interpreter.ILoop$$anonfun$loadCommand$1.apply(ILoop.scala:725)
    36 frames
  14. Scala
    AbstractFunction1.apply$mcVL$sp
    1. scala.Function1$class.apply$mcVL$sp(Function1.scala:39)
    2. scala.runtime.AbstractFunction1.apply$mcVL$sp(AbstractFunction1.scala:12)
    2 frames
  15. Scala Compiler
    MainGenericRunner.main
    1. scala.tools.nsc.interpreter.ILoop.withFile(ILoop.scala:719)
    2. scala.tools.nsc.interpreter.ILoop.loadCommand(ILoop.scala:725)
    3. scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291)
    4. scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291)
    5. scala.tools.nsc.interpreter.LoopCommands$LineCmd.apply(LoopCommands.scala:81)
    6. scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:778)
    7. scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647)
    8. scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654)
    9. scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657)
    10. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:962)
    11. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924)
    12. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924)
    13. scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:157)
    14. scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:924)
    15. scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:79)
    16. scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:92)
    17. scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:101)
    18. scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
    18 frames