Skip to content

Instantly share code, notes, and snippets.

View jducoeur's full-sized avatar

Justin du Coeur, AKA Mark Waks jducoeur

View GitHub Profile
import sbt.Project.projectToRef
lazy val clients = Seq(querkiClient)
lazy val scalaV = "2.11.6"
lazy val akkaV = "2.3.11"
lazy val appV = "1.2.1"
lazy val sharedSrcDir = "scala"
[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)
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)
private[ql] case class InvocationValueImpl[T](inv:Invocation, vs:Iterable[T], errOpt:Option[PublicException] = None)(implicit val ecology:Ecology)
extends InvocationValue[T] with EcologyMember
{
lazy val QL = interface[QL]
def map[R](f:T => R):InvocationValue[R] = {
errOpt match {
// If there has already been an error, just propagate that:
case Some(err) => InvocationValueImpl[R](inv, None, errOpt)
// Otherwise, actually call f: