summaryrefslogtreecommitdiff
path: root/test/files/run/future-flatmap-exec-count.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7861 Don't execute internal callbacks on the user ExecutorJason Zaugg2013-09-211-0/+61
Callbacks internal to the implementation of Futures should be executed with the `InternalCallbackExecutor`, rather than the user supplied `Executor`. In a refactoring da54f34a6, `recoverWith` and `flatMap` no longer played by these rules. This was noticed by a persnickety test in Play. Before this patch, the enclosed test outputs: % scala-hash v2.10.3-RC2 test/files/run/future-flatmap-exec-count.scala mapping execute() flatmapping execute() execute() recovering execute() execute()