Advertisement
Guest User

Untitled

a guest
Mar 17th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 7.28 KB | None | 0 0
  1. > dotc ../playground/kk.scala
  2. [info] Compiling 1 Scala source to /Users/abeln/src/dotty/dotty/compiler/target/scala-2.11/classes...
  3. [warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
  4. [warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
  5. [info] Packaging /Users/abeln/src/dotty/dotty/compiler/target/scala-2.11/dotty-compiler_2.11-0.1.1-SNAPSHOT.jar ...
  6. [info] Done packaging.
  7. [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
  8. -- Error: ../playground/kk.scala -----------------------------------------------
  9. 2 |  C.super.foo()
  10.  |  ^
  11.  |  C is not an enclosing class
  12.  
  13. exception occurred while typechecking ../playground/kk.scala
  14.  
  15. exception occurred while compiling ../playground/kk.scala
  16. Exception in thread "main" scala.MatchError: dotty.tools.dotc.core.Types$ErrorType@37a71e93 (of class dotty.tools.dotc.core.Types$ErrorType)
  17.     at dotty.tools.dotc.typer.TypeAssigner$class.assignType(TypeAssigner.scala:294)
  18.     at dotty.tools.dotc.typer.Typer.assignType(Typer.scala:64)
  19.     at dotty.tools.dotc.typer.Typer$$anonfun$typedSuper$1.apply(Typer.scala:448)
  20.     at dotty.tools.dotc.typer.Typer$$anonfun$typedSuper$1.apply(Typer.scala:438)
  21.     at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
  22.     at dotty.tools.dotc.typer.Typer.typedSuper(Typer.scala:438)
  23.     at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1549)
  24.     at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
  25.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
  26.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
  27.     at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
  28.     at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
  29.     at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
  30.     at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
  31.     at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.dotty$tools$dotc$typer$Typer$$anonfun$$typeSelectOnTerm$1(Typer.scala:397)
  32.     at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.apply(Typer.scala:431)
  33.     at dotty.tools.dotc.typer.Typer$$anonfun$typedSelect$1.apply(Typer.scala:395)
  34.     at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
  35.     at dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:395)
  36.     at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1513)
  37.     at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
  38.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
  39.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
  40.     at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
  41.     at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
  42.     at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
  43.     at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
  44.     at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:634)
  45.     at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:632)
  46.     at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
  47.     at dotty.tools.dotc.typer.Applications$class.realApply$1(Applications.scala:632)
  48.     at dotty.tools.dotc.typer.Applications$class.typedApply(Applications.scala:731)
  49.     at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:64)
  50.     at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1532)
  51.     at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
  52.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
  53.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
  54.     at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
  55.     at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
  56.     at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
  57.     at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1629)
  58.     at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
  59.     at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1329)
  60.     at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1275)
  61.     at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
  62.     at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:1275)
  63.     at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1523)
  64.     at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
  65.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
  66.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
  67.     at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
  68.     at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
  69.     at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
  70.     at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1618)
  71.     at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
  72.     at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1438)
  73.     at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1425)
  74.     at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
  75.     at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1425)
  76.     at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1562)
  77.     at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
  78.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
  79.     at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
  80.     at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
  81.     at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
  82.     at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
  83.     at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
  84.     at dotty.tools.dotc.typer.FrontEnd$$anonfun$typeCheck$1.apply$mcV$sp(FrontEnd.scala:64)
  85.     at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:32)
  86.     at dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:62)
  87.     at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
  88.     at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
  89.     at scala.collection.immutable.List.foreach(List.scala:381)
  90.     at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:93)
  91.     at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:76)
  92.     at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:73)
  93.     at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
  94.     at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
  95.     at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:73)
  96.     at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
  97.     at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
  98.     at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:76)
  99.     at dotty.tools.dotc.Run.compileUnits(Run.scala:67)
  100.     at dotty.tools.dotc.Run.compileSources(Run.scala:64)
  101.     at dotty.tools.dotc.Run.compile(Run.scala:48)
  102.     at dotty.tools.dotc.Driver.doCompile(Driver.scala:26)
  103.     at dotty.tools.dotc.Driver.process(Driver.scala:124)
  104.     at dotty.tools.dotc.Driver.process(Driver.scala:93)
  105.     at dotty.tools.dotc.Driver.process(Driver.scala:105)
  106.     at dotty.tools.dotc.Driver.main(Driver.scala:132)
  107.     at dotty.tools.dotc.Main.main(Main.scala)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement