Skip to content

Instantly share code, notes, and snippets.

@smarter
Created February 29, 2016 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarter/02d078ae6c763d2ec72f to your computer and use it in GitHub Desktop.
Save smarter/02d078ae6c763d2ec72f to your computer and use it in GitHub Desktop.
new files detected. rebuilding
[info] Loading global plugins from /home/smarter/.sbt/0.13/plugins
[info] Loading project definition from /home/smarter/opt/dotty/project
[info] Set current project to dotty (in build file:/home/smarter/opt/dotty/)
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[info] Packaging /home/smarter/opt/dotty/target/scala-2.11/dotty_2.11-0.1-SNAPSHOT-tests.jar ...
[info] Done packaging.
[success] Total time: 1 s, completed 29 févr. 2016 19:55:18
/home/smarter/opt/dotty
exception while transforming () extends Object {
<accessor> def o(): Outer = new Outer()
<accessor> def inner(): Outer.this.Inner = {
final class $anon($outer: MustBeATrait) extends Outer.this.Inner(
this.MustBeATrait$~$anon$$$outer().o()
) {
private <accessor> def $outer(): MustBeATrait
final def MustBeATrait$~$anon$$$outer(): MustBeATrait = $outer()
}
new Outer.this.Inner{...}(this): Outer.this.Inner
}
} of class class dotty.tools.dotc.ast.Trees$Template # 299
exception while transforming <trait> trait MustBeATrait() extends Object {
<accessor> def o(): Outer = new Outer()
<accessor> def inner(): Outer.this.Inner = {
final class $anon($outer: MustBeATrait) extends Outer.this.Inner(
this.MustBeATrait$~$anon$$$outer().o()
) {
private <accessor> def $outer(): MustBeATrait
final def MustBeATrait$~$anon$$$outer(): MustBeATrait = $outer()
}
new Outer.this.Inner{...}(this): Outer.this.Inner
}
} of class class dotty.tools.dotc.ast.Trees$TypeDef # 300
exception while transforming package <empty> {
class Outer() extends Object() {
class Inner($outer: Outer) extends Object() {
private <accessor> def $outer(): Outer
final def Outer$Inner$$$outer(): Outer = Inner.this.$outer()
}
}
<trait> trait MustBeATrait() extends Object {
<accessor> def o(): Outer = new Outer()
<accessor> def inner(): Outer.this.Inner = {
final class $anon($outer: MustBeATrait) extends Outer.this.Inner(
this.MustBeATrait$~$anon$$$outer().o()
) {
private <accessor> def $outer(): MustBeATrait
final def MustBeATrait$~$anon$$$outer(): MustBeATrait = $outer()
}
new Outer.this.Inner{...}(this): Outer.this.Inner
}
}
} of class class dotty.tools.dotc.ast.Trees$PackageDef # 301
exception occurred while compiling try/sbt-crash/API.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: asTerm called on not-a-Term val <none>
at scala.Predef$.assert(Predef.scala:165)
at dotty.tools.dotc.core.Symbols$Symbol.asTerm(Symbols.scala:407)
at dotty.tools.dotc.core.Types$TermRef$.withSigAndDenot(Types.scala:1893)
at dotty.tools.dotc.ast.tpd$TreeOps$.select$extension2(tpd.scala:675)
at dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.loop$1(ExplicitOuter.scala:317)
at dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.path$extension(ExplicitOuter.scala:320)
at dotty.tools.dotc.ast.tpd$.followOuterLinks(tpd.scala:351)
at dotty.tools.dotc.ast.tpd$.ref(tpd.scala:341)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:90)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap.transform(Trees.scala:1099)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:106)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:94)
at dotty.tools.dotc.ast.TreeTypeMap$$anonfun$transform$2.apply(TreeTypeMap.scala:85)
at dotty.tools.dotc.ast.TreeTypeMap$$anonfun$transform$2.apply(TreeTypeMap.scala:85)
at dotty.tools.dotc.core.Decorators$ListDecorator$.loop$1(Decorators.scala:51)
at dotty.tools.dotc.core.Decorators$ListDecorator$.mapconserve$extension(Decorators.scala:67)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:85)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap.transform(Trees.scala:1163)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:106)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap$$anonfun$transform$2.apply(Trees.scala:1180)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap$$anonfun$transform$2.apply(Trees.scala:1180)
at scala.collection.immutable.List.loop$1(List.scala:173)
at scala.collection.immutable.List.mapConserve(List.scala:189)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap.transform(Trees.scala:1180)
at dotty.tools.dotc.ast.Trees$Instance$TreeMap.transformSub(Trees.scala:1184)
at dotty.tools.dotc.ast.TreeTypeMap.transformDefs(TreeTypeMap.scala:115)
at dotty.tools.dotc.ast.TreeTypeMap.transform(TreeTypeMap.scala:96)
at dotty.tools.dotc.ast.TreeTypeMap.apply(TreeTypeMap.scala:127)
at dotty.tools.dotc.ast.tpd$TreeOps$.loop$1(tpd.scala:628)
at dotty.tools.dotc.ast.tpd$TreeOps$.changeOwner$extension(tpd.scala:631)
at dotty.tools.dotc.transform.Mixin$$anonfun$traitDefs$1$1.apply(Mixin.scala:138)
at dotty.tools.dotc.transform.Mixin$$anonfun$traitDefs$1$1.apply(Mixin.scala:130)
at scala.collection.immutable.List.flatMap(List.scala:327)
at dotty.tools.dotc.transform.Mixin.traitDefs$1(Mixin.scala:130)
at dotty.tools.dotc.transform.Mixin.transformTemplate(Mixin.scala:242)
at dotty.tools.dotc.transform.Mixin.transformTemplate(Mixin.scala:93)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.goTemplate(TreeTransform.scala:867)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformUnnamed(TreeTransform.scala:1184)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1213)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformNamed(TreeTransform.scala:1011)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1212)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.dotty$tools$dotc$transform$TreeTransforms$TreeTransformer$$transformStat$1(TreeTransform.scala:1238)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$38.apply(TreeTransform.scala:1242)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$38.apply(TreeTransform.scala:1242)
at dotty.tools.dotc.core.Decorators$ListDecorator$.loop$1(Decorators.scala:51)
at dotty.tools.dotc.core.Decorators$ListDecorator$.mapconserve$extension(Decorators.scala:67)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformStats(TreeTransform.scala:1242)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformUnnamed(TreeTransform.scala:1192)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1213)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.macroTransform(TreeTransform.scala:563)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.run(TreeTransform.scala:480)
at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:272)
at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:270)
at scala.collection.immutable.List.map(List.scala:273)
at dotty.tools.dotc.core.Phases$Phase$class.runOn(Phases.scala:270)
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.runOn(TreeTransform.scala:474)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:60)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:57)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:57)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:52)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:52)
at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:69)
at dotty.tools.dotc.Run.compileUnits(Run.scala:52)
at dotty.tools.dotc.Run.compileSources(Run.scala:49)
at dotty.tools.dotc.Run.compile(Run.scala:33)
at dotty.tools.dotc.Driver.doCompile(Driver.scala:28)
at dotty.tools.dotc.Driver.process(Driver.scala:126)
at dotty.tools.dotc.Driver.process(Driver.scala:95)
at dotty.tools.dotc.Driver.process(Driver.scala:107)
at dotty.tools.dotc.Driver.main(Driver.scala:134)
at dotty.tools.dotc.Main.main(Main.scala)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment