Created
March 30, 2016 10:29
-
-
Save sjrd/c77348e1d77cf2ec33a1ff881d2c4f2f 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
[error] error: scala.reflect.internal.FatalError: | |
[error] Could not generate raw function maker for JS function: Found a non-apply method method $anonfun$4 in | |
@SerialVersionUID(value = 0) final <synthetic> class anonfun$toJSPromise$extension$1 extends scala.scalajs.js | |
.Function with scala.scalajs.js.Function2 with Serializable { | |
[error] final def apply(arg1: scala.scalajs.js.Function1, arg2: scala.scalajs.js.Function1): Unit = anonfun$ | |
toJSPromise$extension$1.this.$this$1.onComplete({ | |
[error] ((x0$2: scala.util.Try) => anonfun$toJSPromise$extension$1.this.$anonfun$4(arg1, arg2, x0$2)) | |
[error] }, anonfun$toJSPromise$extension$1.this.executor$1); | |
[error] final <bridge> <artifact> def apply(arg1: Object, arg2: Object): Object = { | |
[error] anonfun$toJSPromise$extension$1.this.apply(arg1.$asInstanceOf[scala.scalajs.js.Function1](), arg2. | |
$asInstanceOf[scala.scalajs.js.Function1]()); | |
[error] scala.runtime.BoxedUnit.UNIT | |
[error] }; | |
[error] <synthetic> <paramaccessor> private[this] val executor$1: scala.concurrent.ExecutionContext = _; | |
[error] <synthetic> <paramaccessor> private[this] val $this$1: scala.concurrent.Future = _; | |
[error] final <artifact> private[this] def $anonfun$4(arg1$1: scala.scalajs.js.Function1, arg2$1: scala.scal | |
ajs.js.Function1, x0$2: scala.util.Try): Object = { | |
[error] case <synthetic> val x1: scala.util.Try = x0$2; | |
[error] case6(){ | |
[error] if (x1.$isInstanceOf[scala.util.Success]()) | |
[error] { | |
[error] <synthetic> val x2: scala.util.Success = (x1.$asInstanceOf[scala.util.Success](): scala.util | |
.Success); | |
[error] { | |
[error] val value: scala.scalajs.js.| = x2.value().$asInstanceOf[scala.scalajs.js.|](); | |
[error] matchEnd5(arg1$1.apply(value)) | |
[error] } | |
[error] } | |
[error] else | |
[error] case7() | |
[error] }; | |
[error] case7(){ | |
[error] if (x1.$isInstanceOf[scala.util.Failure]()) | |
[error] { | |
[error] <synthetic> val x3: scala.util.Failure = (x1.$asInstanceOf[scala.util.Failure](): scala.util | |
.Failure); | |
[error] { | |
[error] val th: Throwable = x3.exception(); | |
[error] matchEnd5(arg2$1.apply({ | |
[error] case <synthetic> val x1: Throwable = th; | |
[error] case5(){ | |
[error] if (x1.$isInstanceOf[scala.scalajs.js.JavaScriptException]()) | |
[error] { | |
[error] <synthetic> val x2: scala.scalajs.js.JavaScriptException = (x1.$asInstanceOf[scala | |
.scalajs.js.JavaScriptException](): scala.scalajs.js.JavaScriptException); | |
[error] { | |
[error] val e: Object = x2.exception(); | |
[error] matchEnd4(e) | |
[error] } | |
[error] } | |
[error] else | |
[error] case6() | |
[error] }; | |
[error] case6(){ | |
[error] matchEnd4(th) | |
[error] }; | |
[error] matchEnd4(x: Object){ | |
[error] x | |
[error] } | |
[error] })) | |
[error] } | |
[error] } | |
[error] else | |
[error] case8() | |
[error] }; | |
[error] case8(){ | |
[error] matchEnd5(throw new MatchError(x1)) | |
[error] }; | |
[error] matchEnd5(x: Object){ | |
[error] x | |
[error] } | |
[error] }; | |
[error] def <init>(executor$1: scala.concurrent.ExecutionContext, $this$1: scala.concurrent.Future): <$anon: | |
scala.scalajs.js.Function with scala.scalajs.js.Function2> = { | |
[error] anonfun$toJSPromise$extension$1.this.executor$1 = executor$1; | |
[error] anonfun$toJSPromise$extension$1.this.$this$1 = $this$1; | |
[error] anonfun$toJSPromise$extension$1.super.<init>(scala.collection.immutable.Nil); | |
[error] () | |
[error] } | |
[error] } | |
[error] while compiling: C:\Users\admintmp\Documents\Seb\scalajs\library\src\main\scala\scala\scalajs\js\ | |
JSConverters.scala | |
[error] during phase: jscode | |
[error] library version: version 2.12.0-20160329-231926-3904c32 | |
[error] compiler version: version 2.12.0-20160329-231926-3904c32 | |
[error] reconstructed args: -encoding utf8 -deprecation -classpath C:\Users\admintmp\Documents\Seb\scalajs\l | |
ibrary\target\scala-2.12.0-3904c32-SNAPSHOT\classes;C:\Users\admintmp\.ivy2\cache\org.scala-lang\scala-library | |
\jars\scala-library-2.12.0-3904c32-SNAPSHOT.jar;C:\Users\admintmp\.ivy2\cache\org.scala-lang\scala-reflect\jar | |
s\scala-reflect-2.12.0-3904c32-SNAPSHOT.jar -feature -Xfatal-warnings -d C:\Users\admintmp\Documents\Seb\scala | |
js\library\target\scala-2.12.0-3904c32-SNAPSHOT\classes -Xplugin:C:\Users\admintmp\Documents\Seb\scalajs\compi | |
ler\target\scala-2.12.0-3904c32-SNAPSHOT\scalajs-compiler_2.12.0-3904c32-SNAPSHOT-0.6.9-SNAPSHOT.jar -unchecke | |
d | |
[error] ... | |
[error] at scala.reflect.internal.Reporting.abort(Reporting.scala:59) | |
[error] at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:16) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$215(GenJSCode.scala:4175) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.gen$5(GenJSCode.scala:4231) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$218(GenJSCode.scala:4207) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$218$adapted(GenJSCode.scala:4207) | |
[error] at scala.collection.immutable.List.foreach(List.scala:376) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.gen$5(GenJSCode.scala:4207) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.tryGenAndRecordAnonFunctionClassGeneric(Gen | |
JSCode.scala:4238) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$214(GenJSCode.scala:4174) | |
[error] at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genAndRecordRawJSFunctionClass(GenJSCode.sc | |
ala:4172) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$5(GenJSCode.scala:211) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodeP | |
hase$$$anonfun$5$adapted(GenJSCode.scala:209) | |
[error] at scala.collection.TraversableLike.scala$collection$TraversableLike$$$anonfun$5(TraversableLi | |
ke.scala:248) | |
[error] at scala.collection.immutable.List.foreach(List.scala:376) | |
[error] at scala.collection.TraversableLike.filterImpl(TraversableLike.scala:247) | |
[error] at scala.collection.AbstractTraversable.filterImpl(Traversable.scala:104) | |
[error] at scala.collection.TraversableLike.filterNot(TraversableLike.scala:267) | |
[error] at scala.collection.AbstractTraversable.filterNot(Traversable.scala:104) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.apply(GenJSCode.scala:209) | |
[error] at scala.tools.nsc.Global$GlobalPhase.scala$tools$nsc$Global$GlobalPhase$$$anonfun$11(Global.s | |
cala:412) | |
[error] at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:403) | |
[error] at scala.tools.nsc.Global$GlobalPhase.scala$tools$nsc$Global$GlobalPhase$$$anonfun$10(Global.s | |
cala:379) | |
[error] at scala.tools.nsc.Global$GlobalPhase.scala$tools$nsc$Global$GlobalPhase$$$anonfun$10$adapted( | |
Global.scala:379) | |
[error] at scala.collection.Iterator.foreach(Iterator.scala:930) | |
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1407) | |
[error] at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:379) | |
[error] at org.scalajs.core.compiler.GenJSCode$JSCodePhase.run(GenJSCode.scala:167) | |
[error] at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1483) | |
[error] at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1468) | |
[error] at scala.tools.nsc.Global$Run.compileSources(Global.scala:1463) | |
[error] at scala.tools.nsc.Global$Run.compile(Global.scala:1557) | |
[error] at scala.tools.nsc.Driver.doCompile(Driver.scala:35) | |
[error] at scala.tools.nsc.MainClass.doCompile(Main.scala:24) | |
[error] at scala.tools.nsc.Driver.process(Driver.scala:55) | |
[error] at scala.tools.nsc.Driver.main(Driver.scala:68) | |
[error] at scala.tools.nsc.Main.main(Main.scala) | |
[trace] Stack trace suppressed: run last library/compile:compile for the full output. | |
[error] (library/compile:compile) Nonzero exit code returned from runner: 1 | |
[error] Total time: 15 s, completed 30-mars-2016 12:27:26 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment