Created
April 21, 2015 18:41
-
-
Save jducoeur/2b6cc78b4033230e5956 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
[querkiServer] $ last querkiClient/test:compile | |
[debug] | |
[debug] Initial source changes: | |
[debug] removed:Set() | |
[debug] added: Set() | |
[debug] modified: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala) | |
[debug] Removed products: Set() | |
[debug] External API changes: API Changes: Set() | |
[debug] Modified binary dependencies: Set() | |
[debug] Initial directly invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala) | |
[debug] | |
[debug] Sources indirectly invalidated by: | |
[debug] product: Set() | |
[debug] binary dep: Set() | |
[debug] external source: Set() | |
[debug] All initially invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala) | |
[info] Compiling 1 Scala source to C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\test-classes... | |
[debug] Getting compiler-interface from component compiler for Scala 2.11.6 | |
[debug] Getting compiler-interface from component compiler for Scala 2.11.6 | |
[debug] Running cached compiler 1d7d467f, interfacing (CompilerInterface) with Scala compiler version 2.11.6 | |
[debug] Calling Scala compiler with arguments (CompilerInterface): | |
[debug] -P:scalajs:mapSourceURI:file:/C:/Users/jducoeur/Documents/GitHub/Querki/querki/-> | |
[debug] -Xplugin:C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-compiler_2.11.6\jars\scalajs-compiler_2.11.6-0.6.1.jar | |
[debug] -bootclasspath | |
[debug] C:\Program Files\Java\jdk1.6.0_38\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_38\jre\classes;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.11.6.jar | |
[debug] -classpath | |
[debug] C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\test-classes;C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\upickle_sjs0.6_2.11\jars\upickle_sjs0.6_2.11-0.2.7.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalarx_sjs0.6_2.11\jars\scalarx_sjs0.6_2.11-0.2.8.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\autowire_sjs0.6_2.11\jars\autowire_sjs0.6_2.11-0.2.5.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.11.4.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalatags_sjs0.6_2.11\jars\scalatags_sjs0.6_2.11-0.4.6.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-dom_sjs0.6_2.11\jars\scalajs-dom_sjs0.6_2.11-0.8.0.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\utest_sjs0.6_2.11\jars\utest_sjs0.6_2.11-0.3.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-test-interface_2.11\jars\scalajs-test-interface_2.11-0.6.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scala-parser-combinators_sjs0.6_2.11\jars\scala-parser-combinators_sjs0.6_2.11-1.0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-async_2.11\bundles\scala-async_2.11-0.9.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\querki-jsext_sjs0.6_2.11\jars\querki-jsext_sjs0.6_2.11-0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-library_2.11\jars\scalajs-library_2.11-0.6.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\jquery-facade_sjs0.6_2.11\jars\jquery-facade_sjs0.6_2.11-0.4.jar;C:\Users\jducoeur\.ivy2\cache\org.webjars\jquery\jars\jquery-2.1.3.jar;C:\Users\jducoeur\.ivy2\cache\org.scalatest\scalatest_2.11\bundles\scalatest_2.11-2.2.0.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-xml_2.11\bundles\scala-xml_2.11-1.0.1.jar | |
java.lang.AssertionError: assertion failed: | |
Trying to access the this of another class: tree.symbol = <$anon: Function0>, class symbol = <$anon: Function0> compilation unit:FutureCrashTest.scala | |
while compiling: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala | |
during phase: jscode | |
library version: version 2.11.6 | |
compiler version: version 2.11.6 | |
reconstructed args: -Xplugin:C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-compiler_2.11.6\jars\scalajs-compiler_2.11.6-0.6.1.jar -P:scalajs:mapSourceURI:file:/C:/Users/jducoeur/Documents/GitHub/Querki/querki/-> -classpath C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\test-classes;C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\upickle_sjs0.6_2.11\jars\upickle_sjs0.6_2.11-0.2.7.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalarx_sjs0.6_2.11\jars\scalarx_sjs0.6_2.11-0.2.8.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\autowire_sjs0.6_2.11\jars\autowire_sjs0.6_2.11-0.2.5.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.11.4.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalatags_sjs0.6_2.11\jars\scalatags_sjs0.6_2.11-0.4.6.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-dom_sjs0.6_2.11\jars\scalajs-dom_sjs0.6_2.11-0.8.0.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\utest_sjs0.6_2.11\jars\utest_sjs0.6_2.11-0.3.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-test-interface_2.11\jars\scalajs-test-interface_2.11-0.6.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scala-parser-combinators_sjs0.6_2.11\jars\scala-parser-combinators_sjs0.6_2.11-1.0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-async_2.11\bundles\scala-async_2.11-0.9.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\querki-jsext_sjs0.6_2.11\jars\querki-jsext_sjs0.6_2.11-0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-library_2.11\jars\scalajs-library_2.11-0.6.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\jquery-facade_sjs0.6_2.11\jars\jquery-facade_sjs0.6_2.11-0.4.jar;C:\Users\jducoeur\.ivy2\cache\org.webjars\jquery\jars\jquery-2.1.3.jar;C:\Users\jducoeur\.ivy2\cache\org.scalatest\scalatest_2.11\bundles\scalatest_2.11-2.2.0.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-xml_2.11\bundles\scala-xml_2.11-1.0.1.jar -bootclasspath C:\Program Files\Java\jdk1.6.0_38\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_38\jre\classes;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.11.6.jar | |
last tree to typer: Apply(value runNow) | |
tree position: line 16 of C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala | |
tree tpe: scala.concurrent.ExecutionContextExecutor | |
symbol: implicit value runNow in object JSExecutionContext$Implicits | |
symbol definition: implicit val runNow(): scala.concurrent.ExecutionContextExecutor (a MethodSymbol) | |
symbol package: scala.scalajs.concurrent | |
symbol owners: value runNow -> object JSExecutionContext$Implicits | |
call site: <$anon: Function0> in package test in package test | |
== Source file context for tree position == | |
13 f | |
14 } | |
15 implicit val queue = scala.scalajs.concurrent.JSExecutionContext.Implicits.runNow | |
16 | |
17 def tests = TestSuite { | |
18 "Crash the compiler when I spew a future" - { | |
19 wrapping { val fut = Future { 1 } } | |
at scala.tools.nsc.Global.assert(Global.scala:262) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1011) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genExpr(GenJSCode.scala:930) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$genActualArgs$3.apply(GenJSCode.scala:3274) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$genActualArgs$3.apply(GenJSCode.scala:3266) | |
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genActualArgs(GenJSCode.scala:3266) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genApplyNew(GenJSCode.scala:1496) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genApply(GenJSCode.scala:1359) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1002) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genExpr(GenJSCode.scala:930) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1081) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genBlock(GenJSCode.scala:1984) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1075) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genExpr(GenJSCode.scala:930) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$genActualArgs$3.apply(GenJSCode.scala:3274) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$genActualArgs$3.apply(GenJSCode.scala:3266) | |
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genActualArgs(GenJSCode.scala:3266) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genNormalApply(GenJSCode.scala:1662) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genApply(GenJSCode.scala:1377) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1002) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genExpr(GenJSCode.scala:930) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:959) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStat(GenJSCode.scala:911) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$42.apply(GenJSCode.scala:1983) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$42.apply(GenJSCode.scala:1983) | |
at scala.collection.immutable.List.map(List.scala:273) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genBlock(GenJSCode.scala:1983) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStatOrExpr(GenJSCode.scala:1075) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genStat(GenJSCode.scala:911) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genMethodDef(GenJSCode.scala:900) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$7$$anonfun$apply$9.apply(GenJSCode.scala:639) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$7$$anonfun$apply$9.apply(GenJSCode.scala:610) | |
at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$7.apply(GenJSCode.scala:610) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$7.apply(GenJSCode.scala:571) | |
at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.genMethodWithInfoBuilder(GenJSCode.scala:571) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClassGeneric$4$$anonfun$67.apply(GenJSCode.scala:3684) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClassGeneric$4$$anonfun$67.apply(GenJSCode.scala:3683) | |
at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClassGeneric$4.apply(GenJSCode.scala:3682) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClassGeneric$4.apply(GenJSCode.scala:3654) | |
at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
at org.scalajs.core.compiler.JSEncoding$class.withNewLocalNameScope(JSEncoding.scala:54) | |
at org.scalajs.core.compiler.GenJSCode.withNewLocalNameScope(GenJSCode.scala:31) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClassGeneric(GenJSCode.scala:3654) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClass$2.apply(GenJSCode.scala:3499) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClass$2.apply(GenJSCode.scala:3497) | |
at org.scalajs.core.compiler.util.ScopedVar$.withScopedVars(ScopedVar.scala:35) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.org$scalajs$core$compiler$GenJSCode$JSCodePhase$$tryGenAndRecordAnonFunctionClass(GenJSCode.scala:3497) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$2.apply(GenJSCode.scala:220) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase$$anonfun$2.apply(GenJSCode.scala:219) | |
at scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258) | |
at scala.collection.TraversableLike$class.filterNot(TraversableLike.scala:278) | |
at scala.collection.AbstractTraversable.filterNot(Traversable.scala:104) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.apply(GenJSCode.scala:219) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:441) | |
at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:432) | |
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:441) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:399) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:399) | |
at scala.collection.Iterator$class.foreach(Iterator.scala:750) | |
at scala.collection.AbstractIterator.foreach(Iterator.scala:1202) | |
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:399) | |
at org.scalajs.core.compiler.GenJSCode$JSCodePhase.run(GenJSCode.scala:163) | |
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1500) | |
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1487) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1482) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:1580) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:116) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:95) | |
at xsbt.CompilerInterface.run(CompilerInterface.scala:26) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at java.lang.reflect.Method.invoke(Method.java:597) | |
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:162) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:96) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:139) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36) | |
at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:31) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:39) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38) | |
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:66) | |
at sbt.inc.Incremental$.compile(Incremental.scala:38) | |
at sbt.inc.IncrementalCompile$.apply(Compile.scala:26) | |
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:153) | |
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70) | |
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45) | |
at sbt.Compiler$.apply(Compiler.scala:74) | |
at sbt.Compiler$.apply(Compiler.scala:65) | |
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:789) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:781) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:781) | |
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) | |
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) | |
at sbt.std.Transform$$anon$4.work(System.scala:63) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) | |
at sbt.Execute.work(Execute.scala:235) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) | |
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) | |
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:138) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:138) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | |
at java.lang.Thread.run(Thread.java:662) | |
[error] (querkiClient/test:compile) java.lang.AssertionError: assertion failed: | |
[error] Trying to access the this of another class: tree.symbol = <$anon: Function0>, class symbol = <$anon: Function0> compilation unit:FutureCrashTest.scala | |
[error] while compiling: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala | |
[error] during phase: jscode | |
[error] library version: version 2.11.6 | |
[error] compiler version: version 2.11.6 | |
[error] reconstructed args: -Xplugin:C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-compiler_2.11.6\jars\scalajs-compiler_2.11.6-0.6.1.jar -P:scalajs:mapSourceURI:file:/C:/Users/jducoeur/Documents/GitHub/Querki/querki/-> -classpath C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\test-classes;C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\upickle_sjs0.6_2.11\jars\upickle_sjs0.6_2.11-0.2.7.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalarx_sjs0.6_2.11\jars\scalarx_sjs0.6_2.11-0.2.8.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\autowire_sjs0.6_2.11\jars\autowire_sjs0.6_2.11-0.2.5.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.11.4.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\scalatags_sjs0.6_2.11\jars\scalatags_sjs0.6_2.11-0.4.6.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-dom_sjs0.6_2.11\jars\scalajs-dom_sjs0.6_2.11-0.8.0.jar;C:\Users\jducoeur\.ivy2\cache\com.lihaoyi\utest_sjs0.6_2.11\jars\utest_sjs0.6_2.11-0.3.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-test-interface_2.11\jars\scalajs-test-interface_2.11-0.6.1.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scala-parser-combinators_sjs0.6_2.11\jars\scala-parser-combinators_sjs0.6_2.11-1.0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-async_2.11\bundles\scala-async_2.11-0.9.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\querki-jsext_sjs0.6_2.11\jars\querki-jsext_sjs0.6_2.11-0.2.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-js\scalajs-library_2.11\jars\scalajs-library_2.11-0.6.2.jar;C:\Users\jducoeur\.ivy2\cache\org.querki\jquery-facade_sjs0.6_2.11\jars\jquery-facade_sjs0.6_2.11-0.4.jar;C:\Users\jducoeur\.ivy2\cache\org.webjars\jquery\jars\jquery-2.1.3.jar;C:\Users\jducoeur\.ivy2\cache\org.scalatest\scalatest_2.11\bundles\scalatest_2.11-2.2.0.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules\scala-xml_2.11\bundles\scala-xml_2.11-1.0.1.jar -bootclasspath C:\Program Files\Java\jdk1.6.0_38\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_38\jre\classes;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.11.6.jar | |
[error] | |
[error] last tree to typer: Apply(value runNow) | |
[error] tree position: line 16 of C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\src\test\scala\querki\test\FutureCrashTest.scala | |
[error] tree tpe: scala.concurrent.ExecutionContextExecutor | |
[error] symbol: implicit value runNow in object JSExecutionContext$Implicits | |
[error] symbol definition: implicit val runNow(): scala.concurrent.ExecutionContextExecutor (a MethodSymbol) | |
[error] symbol package: scala.scalajs.concurrent | |
[error] symbol owners: value runNow -> object JSExecutionContext$Implicits | |
[error] call site: <$anon: Function0> in package test in package test | |
[error] | |
[error] == Source file context for tree position == | |
[error] | |
[error] 13 f | |
[error] 14 } | |
[error] 15 implicit val queue = scala.scalajs.concurrent.JSExecutionContext.Implicits.runNow | |
[error] 16 | |
[error] 17 def tests = TestSuite { | |
[error] 18 "Crash the compiler when I spew a future" - { | |
[error] 19 wrapping { val fut = Future { 1 } } | |
[querkiServer] $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment