Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > dotc ../playground/kk.scala
- [info] Compiling 1 Scala source to /Users/abeln/src/dotty/dotty/compiler/target/scala-2.11/classes...
- [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 /Users/abeln/src/dotty/dotty/compiler/target/scala-2.11/dotty-compiler_2.11-0.1.1-SNAPSHOT.jar ...
- [info] Done packaging.
- [info] Running dotty.tools.dotc.Main ../playground/kk.scala -classpath /Users/abeln/src/dotty/dotty/library/target/scala-2.11/dotty-library_2.11-0.1.1-SNAPSHOT.jar
- -- Error: ../playground/kk.scala -----------------------------------------------
- 2 | C.super.foo()
- | ^
- | C is not an enclosing class
- exception occurred while typechecking ../playground/kk.scala
- exception occurred while compiling ../playground/kk.scala
- Exception in thread "main" scala.MatchError: dotty.tools.dotc.core.Types$ErrorType@37a71e93 (of class dotty.tools.dotc.core.Types$ErrorType)
- at dotty.tools.dotc.typer.TypeAssigner$class.assignType(TypeAssigner.scala:294)
- at dotty.tools.dotc.typer.Typer.assignType(Typer.scala:64)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedSuper$1.apply(Typer.scala:448)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedSuper$1.apply(Typer.scala:438)
- at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
- at dotty.tools.dotc.typer.Typer.typedSuper(Typer.scala:438)
- at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1549)
- at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
- at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
- at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
- at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
- at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.dotty$tools$dotc$typer$Typer$$anonfun$$typeSelectOnTerm$1(Typer.scala:397)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.apply(Typer.scala:431)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.apply(Typer.scala:395)
- at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
- at dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:395)
- at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1513)
- at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
- at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
- at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
- at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
- at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
- at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:634)
- at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:632)
- at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
- at dotty.tools.dotc.typer.Applications$class.realApply$1(Applications.scala:632)
- at dotty.tools.dotc.typer.Applications$class.typedApply(Applications.scala:731)
- at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:64)
- at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1532)
- at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
- at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
- at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
- at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
- at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1629)
- at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1329)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1275)
- at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
- at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:1275)
- at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1523)
- at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
- at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
- at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
- at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
- at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1618)
- at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1438)
- at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1425)
- at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
- at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1425)
- at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1562)
- at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
- at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
- at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
- at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
- at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
- at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
- at dotty.tools.dotc.typer.FrontEnd$$anonfun$typeCheck$1.apply$mcV$sp(FrontEnd.scala:64)
- at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:32)
- at dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:62)
- at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
- at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:93)
- at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:76)
- at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:73)
- 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:73)
- at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
- at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
- at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:76)
- at dotty.tools.dotc.Run.compileUnits(Run.scala:67)
- at dotty.tools.dotc.Run.compileSources(Run.scala:64)
- at dotty.tools.dotc.Run.compile(Run.scala:48)
- at dotty.tools.dotc.Driver.doCompile(Driver.scala:26)
- at dotty.tools.dotc.Driver.process(Driver.scala:124)
- at dotty.tools.dotc.Driver.process(Driver.scala:93)
- at dotty.tools.dotc.Driver.process(Driver.scala:105)
- at dotty.tools.dotc.Driver.main(Driver.scala:132)
- at dotty.tools.dotc.Main.main(Main.scala)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement