Closed
Description
On master doing: sbt sjsSandbox/compile
results in:
[info] Loading project definition from /home/fixel/Projects/dotty-master/project
[info] Set current project to dotty (in build file:/home/fixel/Projects/dotty-master/)
> sjsSandbox/compile
[info] Resolving org.scala-js#scalajs-ir_2.11;0.6.8 ...
[info] Compiling 1 Scala sources to /home/fixel/Projects/dotty-master/sandbox/scalajs/target/scala-2.11/classes...
[error] exception occurred while compiling /home/fixel/Projects/dotty-master/sandbox/scalajs/hello.scala
[error] Exception in thread "main" java.lang.AssertionError: assertion failed: phase getClass has unmet requirement: class dotty.tools.dotc.transform.FunctionalInterfaces should precede this phase
[error] at scala.Predef$.assert(Predef.scala:165)
[error] at dotty.tools.dotc.core.Phases$PhasesBase$class.checkRequirements$1(Phases.scala:164)
[error] at dotty.tools.dotc.core.Phases$PhasesBase$$anonfun$usePhases$2.apply(Phases.scala:177)
[error] at dotty.tools.dotc.core.Phases$PhasesBase$$anonfun$usePhases$2.apply(Phases.scala:176)
[error] at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
[error] at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
[error] at dotty.tools.dotc.core.Phases$PhasesBase$class.usePhases(Phases.scala:176)
[error] at dotty.tools.dotc.core.Contexts$ContextBase.usePhases(Contexts.scala:527)
[error] at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:66)
[error] at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:62)
[error] at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:62)
[error] at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:76)
[error] at dotty.tools.dotc.Run.compileUnits(Run.scala:62)
[error] at dotty.tools.dotc.Run.compileSources(Run.scala:59)
[error] at dotty.tools.dotc.Run.compile(Run.scala:43)
[error] at dotty.tools.dotc.Driver.doCompile(Driver.scala:26)
[error] at dotty.tools.dotc.Driver.process(Driver.scala:124)
[error] at dotty.tools.dotc.Driver.process(Driver.scala:93)
[error] at dotty.tools.dotc.Driver.process(Driver.scala:105)
[error] at dotty.tools.dotc.Driver.main(Driver.scala:132)
[error] at dotty.tools.dotc.Main.main(Main.scala)
[trace] Stack trace suppressed: run last sjsSandbox/compile:compile for the full output.
[error] (sjsSandbox/compile:compile) Nonzero exit code returned from runner: 1
[error] Total time: 4 s, completed Oct 10, 2016 9:53:55 AM
ping: @sjrd