Created
August 20, 2013 20:13
-
-
Save soc/6286665 to your computer and use it in GitHub Desktop.
This file contains 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
> clean | |
[success] Total time: 0 s, completed 20.08.2013 22:00:47 | |
> compile | |
[info] Updating {file:/home/soc/Entwicklung/enum-paradise/}macros... | |
[info] Updating {file:/home/soc/Entwicklung/enum-paradise/}root... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[info] Updating {file:/home/soc/Entwicklung/enum-paradise/}core... | |
[info] Resolving org.scala-lang#scala-library;2.10.2 ... | |
[info] Compiling 3 Scala sources to /home/soc/Entwicklung/enum-paradise/macros/target/scala-2.10/classes... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[warn] embeddedFile--QuasiquoteCompat.scala@8a9aa731f15d42388f520989b394604e:320: Adapting argument list by inserting (): leaky (Object-receiving) target makes this especially dangerous. | |
[warn] signature: ConstantExtractor.apply(value: Any): Constants.this.Constant | |
[warn] given arguments: <none> | |
[warn] after adaptation: ConstantExtractor((): Unit) | |
[warn] DefDef(NoMods, newTermName("$init$"), List(), List(List()), TypeTree(), u.Block(lvdefs, Literal(Constant()))))) | |
[warn] ^ | |
[warn] embeddedFile--QuasiquoteCompat.scala@8a9aa731f15d42388f520989b394604e:329: Adapting argument list by inserting (): leaky (Object-receiving) target makes this especially dangerous. | |
[warn] signature: ConstantExtractor.apply(value: Any): Constants.this.Constant | |
[warn] given arguments: <none> | |
[warn] after adaptation: ConstantExtractor((): Unit) | |
[warn] DefDef(constrMods, nme.CONSTRUCTOR, List(), vparamss1, TypeTree(), u.Block(lvdefs ::: List(superCall), Literal(Constant()))))) | |
[warn] ^ | |
[warn] two warnings found | |
[info] Compiling 5 Scala sources and 1 Java source to /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes... | |
class Day extends java.lang.Enum[Day] { | |
final private def <init>(name: String, ordinal: Int) = { | |
super.<init>(name, ordinal); | |
() | |
}; | |
<stable> <static> val Monday: Day = new Day("Monday", 1); | |
<stable> <static> val Tuesday: Day = new Day("Tuesday", 2); | |
<stable> <static> val Wednesday: Day = new Day("Wednesday", 3); | |
<stable> <static> val Thursday: Day = new Day("Thursday", 4); | |
<stable> <static> val Friday: Day = new Day("Friday", 5); | |
<stable> <static> val Saturday: Day = new Day("Saturday", 6); | |
<stable> <static> val Sunday: Day = new Day("Sunday", 7); | |
<static> private[this] val $VALUES: scala.Array[Day] = scala.Array.apply[Day](Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday)(Predef.implicitly); | |
<static> def values: scala.Array[Day] = $VALUES.clone(); | |
<static> def valueOf(name: String): Day = java.lang.Enum.valueOf(classOf[Day], name) | |
} | |
[warn] <stable> <static> val Monday: Day = new Day("Monday", 1) is enum of class Day! | |
[warn] <stable> <static> val Tuesday: Day = new Day("Tuesday", 2) is enum of class Day! | |
[warn] <stable> <static> val Wednesday: Day = new Day("Wednesday", 3) is enum of class Day! | |
[warn] <stable> <static> val Thursday: Day = new Day("Thursday", 4) is enum of class Day! | |
[warn] <stable> <static> val Friday: Day = new Day("Friday", 5) is enum of class Day! | |
[warn] <stable> <static> val Saturday: Day = new Day("Saturday", 6) is enum of class Day! | |
[warn] <stable> <static> val Sunday: Day = new Day("Sunday", 7) is enum of class Day! | |
[error] uncaught exception during compilation: java.lang.AssertionError | |
[trace] Stack trace suppressed: run last core/compile:compile for the full output. | |
[error] (core/compile:compile) java.lang.AssertionError: assertion failed: | |
[error] while compiling: /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala | |
[error] during phase: typer | |
[error] library version: version 2.10.3-20130820-202151-3b0d40157c | |
[error] compiler version: version 2.10.3-20130820-202151-3b0d40157c | |
[error] reconstructed args: -bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-library.jar -Ywarn-nullary-unit -deprecation -feature -Xlint -Ywarn-inaccessible -Xplugin:/home/soc/.ivy2/cache/org.scala-lang.plugins/macro-paradise_2.10.2/jars/macro-paradise_2.10.2-2.0.0-SNAPSHOT.jar -Ywarn-nullary-override -classpath /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes:/home/soc/Entwicklung/enum-paradise/macros/target/scala-2.10/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-compiler.jar:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-reflect.jar -Ywarn-adapted-args | |
[error] | |
[error] last tree to typer: Literal(Constant(())) | |
[error] symbol: null | |
[error] symbol definition: null | |
[error] tpe: Unit | |
[error] symbol owners: | |
[error] context owners: class Day -> package scalax | |
[error] | |
[error] == Enclosing template or block == | |
[error] | |
[error] Template( // val <local Day>: <notype> in class Day | |
[error] java.lang.Enum[Day] // parents | |
[error] ValDef( | |
[error] private | |
[error] "_" | |
[error] <tpt> | |
[error] <empty> | |
[error] ) | |
[error] // 11 statements | |
[error] DefDef( // final private def <init>: <?> in class Day | |
[error] <method> private final <java> | |
[error] "<init>" | |
[error] [] | |
[error] // 1 parameter list | |
[error] ValDef( | |
[error] <param> | |
[error] "name" | |
[error] "String" | |
[error] <empty> | |
[error] ) | |
[error] ValDef( | |
[error] <param> | |
[error] "ordinal" | |
[error] "Int" | |
[error] <empty> | |
[error] ) | |
[error] <tpt> | |
[error] Block( | |
[error] Apply( | |
[error] super."<init>" | |
[error] // 2 arguments | |
[error] "name" | |
[error] "ordinal" | |
[error] ) | |
[error] () | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Monday: <notype>(Monday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Monday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Monday" | |
[error] 1 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Tuesday: <notype>(Tuesday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Tuesday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Tuesday" | |
[error] 2 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Wednesday: <notype>(Wednesday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Wednesday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Wednesday" | |
[error] 3 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Thursday: <notype>(Thursday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Thursday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Thursday" | |
[error] 4 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Friday: <notype>(Friday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Friday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Friday" | |
[error] 5 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Saturday: <notype>(Saturday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Saturday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Saturday" | |
[error] 6 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Sunday: <notype>(Sunday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Sunday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Sunday" | |
[error] 7 | |
[error] ) | |
[error] ) | |
[error] ValDef( // private[this] val $VALUES: <?> in class Day | |
[error] private <local> <java> <static> | |
[error] "$VALUES" | |
[error] AppliedTypeTree( | |
[error] "scala"."Array" | |
[error] "Day" | |
[error] ) | |
[error] Apply( | |
[error] Apply( | |
[error] TypeApply( | |
[error] "scala"."Array"."apply" | |
[error] "Day" | |
[error] ) | |
[error] // 7 arguments | |
[error] "Monday" | |
[error] "Tuesday" | |
[error] "Wednesday" | |
[error] "Thursday" | |
[error] "Friday" | |
[error] "Saturday" | |
[error] "Sunday" | |
[error] ) | |
[error] "Predef"."implicitly" | |
[error] ) | |
[error] ) | |
[error] DefDef( // def values: <?> in class Day | |
[error] <method> <java> <static> | |
[error] "values" | |
[error] [] | |
[error] Nil | |
[error] AppliedTypeTree( | |
[error] "scala"."Array" | |
[error] "Day" | |
[error] ) | |
[error] Apply( | |
[error] "$VALUES"."clone" | |
[error] Nil | |
[error] ) | |
[error] ) | |
[error] DefDef( // def valueOf: <?> in class Day | |
[error] <method> <java> <static> | |
[error] "valueOf" | |
[error] [] | |
[error] // 1 parameter list | |
[error] ValDef( | |
[error] <param> | |
[error] "name" | |
[error] "String" | |
[error] <empty> | |
[error] ) | |
[error] "Day" | |
[error] Apply( | |
[error] "java"."lang"."Enum"."valueOf" | |
[error] // 2 arguments | |
[error] TypeApply( | |
[error] "classOf" | |
[error] "Day" | |
[error] ) | |
[error] "name" | |
[error] ) | |
[error] ) | |
[error] ) | |
[error] | |
[error] == Expanded type of tree == | |
[error] | |
[error] TypeRef(TypeSymbol(final abstract class Unit extends AnyVal)) | |
[error] | |
[error] <stable> <static> val Monday: <notype>(Monday) = new Day("Monday", 1) | |
[error] Total time: 11 s, completed 20.08.2013 22:01:06 | |
> last core/compile:compile | |
[debug] | |
[debug] Initial source changes: | |
[debug] removed:Set() | |
[debug] added: Set(/home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayMethods.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayConstructors.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayMethodConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/java/JavaDayConsumer.java) | |
[debug] modified: Set() | |
[debug] Removed products: Set() | |
[debug] Modified external sources: Set() | |
[debug] Modified binary dependencies: Set() | |
[debug] Initial directly invalidated sources: Set(/home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayMethods.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayConstructors.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayMethodConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/java/JavaDayConsumer.java) | |
[debug] | |
[debug] Sources indirectly invalidated by: | |
[debug] product: Set() | |
[debug] binary dep: Set() | |
[debug] external source: Set() | |
[debug] All initially invalidated sources: Set(/home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayMethods.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/DayConstructors.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/ScalaDayMethodConsumer.scala, /home/soc/Entwicklung/enum-paradise/core/src/main/java/JavaDayConsumer.java) | |
[debug] Recompiling all 6 sources: invalidated sources (6) exceeded 50.0% of all sources | |
[info] Compiling 5 Scala sources and 1 Java source to /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes... | |
[debug] Getting compiler-interface from component compiler for Scala 2.10.2 | |
[debug] Getting compiler-interface from component compiler for Scala 2.10.2 | |
[debug] Running cached compiler efedd66, interfacing (CompilerInterface) with Scala compiler version 2.10.3-20130820-202151-3b0d40157c | |
[debug] Calling Scala compiler with arguments (CompilerInterface): | |
[debug] -deprecation | |
[debug] -feature | |
[debug] -Xlint | |
[debug] -Xplugin:/home/soc/.ivy2/cache/org.scala-lang.plugins/macro-paradise_2.10.2/jars/macro-paradise_2.10.2-2.0.0-SNAPSHOT.jar | |
[debug] -bootclasspath | |
[debug] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-library.jar | |
[debug] -classpath | |
[debug] /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes:/home/soc/Entwicklung/enum-paradise/macros/target/scala-2.10/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-compiler.jar:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-reflect.jar | |
[warn] <stable> <static> val Monday: Day = new Day("Monday", 1) is enum of class Day! | |
[warn] <stable> <static> val Tuesday: Day = new Day("Tuesday", 2) is enum of class Day! | |
[warn] <stable> <static> val Wednesday: Day = new Day("Wednesday", 3) is enum of class Day! | |
[warn] <stable> <static> val Thursday: Day = new Day("Thursday", 4) is enum of class Day! | |
[warn] <stable> <static> val Friday: Day = new Day("Friday", 5) is enum of class Day! | |
[warn] <stable> <static> val Saturday: Day = new Day("Saturday", 6) is enum of class Day! | |
[warn] <stable> <static> val Sunday: Day = new Day("Sunday", 7) is enum of class Day! | |
[error] uncaught exception during compilation: java.lang.AssertionError | |
java.lang.AssertionError: assertion failed: | |
while compiling: /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala | |
during phase: typer | |
library version: version 2.10.3-20130820-202151-3b0d40157c | |
compiler version: version 2.10.3-20130820-202151-3b0d40157c | |
reconstructed args: -bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-library.jar -Ywarn-nullary-unit -deprecation -feature -Xlint -Ywarn-inaccessible -Xplugin:/home/soc/.ivy2/cache/org.scala-lang.plugins/macro-paradise_2.10.2/jars/macro-paradise_2.10.2-2.0.0-SNAPSHOT.jar -Ywarn-nullary-override -classpath /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes:/home/soc/Entwicklung/enum-paradise/macros/target/scala-2.10/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-compiler.jar:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-reflect.jar -Ywarn-adapted-args | |
last tree to typer: Literal(Constant(())) | |
symbol: null | |
symbol definition: null | |
tpe: Unit | |
symbol owners: | |
context owners: class Day -> package scalax | |
== Enclosing template or block == | |
Template( // val <local Day>: <notype> in class Day | |
java.lang.Enum[Day] // parents | |
ValDef( | |
private | |
"_" | |
<tpt> | |
<empty> | |
) | |
// 11 statements | |
DefDef( // final private def <init>: <?> in class Day | |
<method> private final <java> | |
"<init>" | |
[] | |
// 1 parameter list | |
ValDef( | |
<param> | |
"name" | |
"String" | |
<empty> | |
) | |
ValDef( | |
<param> | |
"ordinal" | |
"Int" | |
<empty> | |
) | |
<tpt> | |
Block( | |
Apply( | |
super."<init>" | |
// 2 arguments | |
"name" | |
"ordinal" | |
) | |
() | |
) | |
) | |
ValDef( // val Monday: <notype>(Monday) in class Day | |
<java> <stable> <static> <enum> | |
"Monday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Monday" | |
1 | |
) | |
) | |
ValDef( // val Tuesday: <notype>(Tuesday) in class Day | |
<java> <stable> <static> <enum> | |
"Tuesday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Tuesday" | |
2 | |
) | |
) | |
ValDef( // val Wednesday: <notype>(Wednesday) in class Day | |
<java> <stable> <static> <enum> | |
"Wednesday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Wednesday" | |
3 | |
) | |
) | |
ValDef( // val Thursday: <notype>(Thursday) in class Day | |
<java> <stable> <static> <enum> | |
"Thursday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Thursday" | |
4 | |
) | |
) | |
ValDef( // val Friday: <notype>(Friday) in class Day | |
<java> <stable> <static> <enum> | |
"Friday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Friday" | |
5 | |
) | |
) | |
ValDef( // val Saturday: <notype>(Saturday) in class Day | |
<java> <stable> <static> <enum> | |
"Saturday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Saturday" | |
6 | |
) | |
) | |
ValDef( // val Sunday: <notype>(Sunday) in class Day | |
<java> <stable> <static> <enum> | |
"Sunday" | |
"Day" | |
Apply( | |
new Day."<init>" | |
// 2 arguments | |
"Sunday" | |
7 | |
) | |
) | |
ValDef( // private[this] val $VALUES: <?> in class Day | |
private <local> <java> <static> | |
"$VALUES" | |
AppliedTypeTree( | |
"scala"."Array" | |
"Day" | |
) | |
Apply( | |
Apply( | |
TypeApply( | |
"scala"."Array"."apply" | |
"Day" | |
) | |
// 7 arguments | |
"Monday" | |
"Tuesday" | |
"Wednesday" | |
"Thursday" | |
"Friday" | |
"Saturday" | |
"Sunday" | |
) | |
"Predef"."implicitly" | |
) | |
) | |
DefDef( // def values: <?> in class Day | |
<method> <java> <static> | |
"values" | |
[] | |
Nil | |
AppliedTypeTree( | |
"scala"."Array" | |
"Day" | |
) | |
Apply( | |
"$VALUES"."clone" | |
Nil | |
) | |
) | |
DefDef( // def valueOf: <?> in class Day | |
<method> <java> <static> | |
"valueOf" | |
[] | |
// 1 parameter list | |
ValDef( | |
<param> | |
"name" | |
"String" | |
<empty> | |
) | |
"Day" | |
Apply( | |
"java"."lang"."Enum"."valueOf" | |
// 2 arguments | |
TypeApply( | |
"classOf" | |
"Day" | |
) | |
"name" | |
) | |
) | |
) | |
== Expanded type of tree == | |
TypeRef(TypeSymbol(final abstract class Unit extends AnyVal)) | |
<stable> <static> val Monday: <notype>(Monday) = new Day("Monday", 1) | |
at scala.Predef$.assert(Predef.scala:179) | |
at scala.tools.nsc.Global.assert(Global.scala:239) | |
at scala.tools.nsc.typechecker.MethodSynthesis$MethodSynth$BaseGetter.validate(MethodSynthesis.scala:406) | |
at scala.tools.nsc.typechecker.MethodSynthesis$MethodSynth$DerivedFromValDef$class.derive(MethodSynthesis.scala:357) | |
at scala.tools.nsc.typechecker.MethodSynthesis$MethodSynth$BaseGetter.derive(MethodSynthesis.scala:399) | |
at scala.tools.nsc.typechecker.MethodSynthesis$MethodSynth$$anonfun$addDerivedTrees$1.apply(MethodSynthesis.scala:227) | |
at scala.tools.nsc.typechecker.MethodSynthesis$MethodSynth$$anonfun$addDerivedTrees$1.apply(MethodSynthesis.scala:227) | |
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.typechecker.MethodSynthesis$MethodSynth$class.addDerivedTrees(MethodSynthesis.scala:227) | |
at scala.tools.nsc.typechecker.Namers$Namer.addDerivedTrees(Namers.scala:55) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$31.apply(Typers.scala:1916) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$31.apply(Typers.scala:1916) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$rewrappingWrapperTrees$1.apply(Typers.scala:1855) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$rewrappingWrapperTrees$1.apply(Typers.scala:1852) | |
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.typechecker.Typers$Typer.typedTemplate(Typers.scala:1916) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.org$scalalang$macroparadise$typechecker$Typers$ParadiseTyper$$super$typedTemplate(Analyzer.scala:17) | |
at org.scalalang.macroparadise.typechecker.Typers$ParadiseTyper$class.typedTemplate(Typers.scala:51) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.typedTemplate(Analyzer.scala:17) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.org$scalalang$macroparadise$typechecker$Typers$ParadiseTyper$$super$typedClassDef(Analyzer.scala:17) | |
at org.scalalang.macroparadise.typechecker.Typers$ParadiseTyper$class.typedClassDef(Typers.scala:62) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.typedClassDef(Analyzer.scala:17) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.org$scalalang$macroparadise$typechecker$Typers$ParadiseTyper$$super$typed1(Analyzer.scala:17) | |
at org.scalalang.macroparadise.typechecker.Typers$ParadiseTyper$class.typed1(Typers.scala:44) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.typed1(Analyzer.scala:17) | |
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 org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.org$scalalang$macroparadise$typechecker$Typers$ParadiseTyper$$super$typed1(Analyzer.scala:17) | |
at org.scalalang.macroparadise.typechecker.Typers$ParadiseTyper$class.typedPackageDef$1(Typers.scala:35) | |
at org.scalalang.macroparadise.typechecker.Typers$ParadiseTyper$class.typed1(Typers.scala:43) | |
at org.scalalang.macroparadise.typechecker.Analyzer$$anon$1.typed1(Analyzer.scala:17) | |
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.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99) | |
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464) | |
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: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 xsbt.CachedCompiler0.run(CompilerInterface.scala:123) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:99) | |
at xsbt.CompilerInterface.run(CompilerInterface.scala:27) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:159) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:142) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36) | |
at sbt.inc.Incremental$.cycle(Incremental.scala:73) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:33) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:32) | |
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:41) | |
at sbt.inc.Incremental$.compile(Incremental.scala:32) | |
at sbt.inc.IncrementalCompile$.apply(Compile.scala:26) | |
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:150) | |
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70) | |
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45) | |
at sbt.Compiler$.apply(Compiler.scala:70) | |
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:722) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) | |
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42) | |
at sbt.std.Transform$$anon$4.work(System.scala:64) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) | |
at sbt.Execute.work(Execute.scala:244) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) | |
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | |
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:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:724) | |
[error] (core/compile:compile) java.lang.AssertionError: assertion failed: | |
[error] while compiling: /home/soc/Entwicklung/enum-paradise/core/src/main/scala/scalax/Day.scala | |
[error] during phase: typer | |
[error] library version: version 2.10.3-20130820-202151-3b0d40157c | |
[error] compiler version: version 2.10.3-20130820-202151-3b0d40157c | |
[error] reconstructed args: -bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-library.jar -Ywarn-nullary-unit -deprecation -feature -Xlint -Ywarn-inaccessible -Xplugin:/home/soc/.ivy2/cache/org.scala-lang.plugins/macro-paradise_2.10.2/jars/macro-paradise_2.10.2-2.0.0-SNAPSHOT.jar -Ywarn-nullary-override -classpath /home/soc/Entwicklung/enum-paradise/core/target/scala-2.10/classes:/home/soc/Entwicklung/enum-paradise/macros/target/scala-2.10/classes:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-compiler.jar:/home/soc/.sbt/boot/scala-2.10.2/lib/scala-reflect.jar -Ywarn-adapted-args | |
[error] | |
[error] last tree to typer: Literal(Constant(())) | |
[error] symbol: null | |
[error] symbol definition: null | |
[error] tpe: Unit | |
[error] symbol owners: | |
[error] context owners: class Day -> package scalax | |
[error] | |
[error] == Enclosing template or block == | |
[error] | |
[error] Template( // val <local Day>: <notype> in class Day | |
[error] java.lang.Enum[Day] // parents | |
[error] ValDef( | |
[error] private | |
[error] "_" | |
[error] <tpt> | |
[error] <empty> | |
[error] ) | |
[error] // 11 statements | |
[error] DefDef( // final private def <init>: <?> in class Day | |
[error] <method> private final <java> | |
[error] "<init>" | |
[error] [] | |
[error] // 1 parameter list | |
[error] ValDef( | |
[error] <param> | |
[error] "name" | |
[error] "String" | |
[error] <empty> | |
[error] ) | |
[error] ValDef( | |
[error] <param> | |
[error] "ordinal" | |
[error] "Int" | |
[error] <empty> | |
[error] ) | |
[error] <tpt> | |
[error] Block( | |
[error] Apply( | |
[error] super."<init>" | |
[error] // 2 arguments | |
[error] "name" | |
[error] "ordinal" | |
[error] ) | |
[error] () | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Monday: <notype>(Monday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Monday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Monday" | |
[error] 1 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Tuesday: <notype>(Tuesday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Tuesday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Tuesday" | |
[error] 2 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Wednesday: <notype>(Wednesday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Wednesday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Wednesday" | |
[error] 3 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Thursday: <notype>(Thursday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Thursday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Thursday" | |
[error] 4 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Friday: <notype>(Friday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Friday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Friday" | |
[error] 5 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Saturday: <notype>(Saturday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Saturday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Saturday" | |
[error] 6 | |
[error] ) | |
[error] ) | |
[error] ValDef( // val Sunday: <notype>(Sunday) in class Day | |
[error] <java> <stable> <static> <enum> | |
[error] "Sunday" | |
[error] "Day" | |
[error] Apply( | |
[error] new Day."<init>" | |
[error] // 2 arguments | |
[error] "Sunday" | |
[error] 7 | |
[error] ) | |
[error] ) | |
[error] ValDef( // private[this] val $VALUES: <?> in class Day | |
[error] private <local> <java> <static> | |
[error] "$VALUES" | |
[error] AppliedTypeTree( | |
[error] "scala"."Array" | |
[error] "Day" | |
[error] ) | |
[error] Apply( | |
[error] Apply( | |
[error] TypeApply( | |
[error] "scala"."Array"."apply" | |
[error] "Day" | |
[error] ) | |
[error] // 7 arguments | |
[error] "Monday" | |
[error] "Tuesday" | |
[error] "Wednesday" | |
[error] "Thursday" | |
[error] "Friday" | |
[error] "Saturday" | |
[error] "Sunday" | |
[error] ) | |
[error] "Predef"."implicitly" | |
[error] ) | |
[error] ) | |
[error] DefDef( // def values: <?> in class Day | |
[error] <method> <java> <static> | |
[error] "values" | |
[error] [] | |
[error] Nil | |
[error] AppliedTypeTree( | |
[error] "scala"."Array" | |
[error] "Day" | |
[error] ) | |
[error] Apply( | |
[error] "$VALUES"."clone" | |
[error] Nil | |
[error] ) | |
[error] ) | |
[error] DefDef( // def valueOf: <?> in class Day | |
[error] <method> <java> <static> | |
[error] "valueOf" | |
[error] [] | |
[error] // 1 parameter list | |
[error] ValDef( | |
[error] <param> | |
[error] "name" | |
[error] "String" | |
[error] <empty> | |
[error] ) | |
[error] "Day" | |
[error] Apply( | |
[error] "java"."lang"."Enum"."valueOf" | |
[error] // 2 arguments | |
[error] TypeApply( | |
[error] "classOf" | |
[error] "Day" | |
[error] ) | |
[error] "name" | |
[error] ) | |
[error] ) | |
[error] ) | |
[error] | |
[error] == Expanded type of tree == | |
[error] | |
[error] TypeRef(TypeSymbol(final abstract class Unit extends AnyVal)) | |
[error] | |
[error] <stable> <static> val Monday: <notype>(Monday) = new Day("Monday", 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment