aboutsummaryrefslogtreecommitdiff
path: root/sensitive.sbt.enc
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-07-07 09:35:05 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-07-07 09:40:44 +1000
commitf3f058991b207a07041672a7e119422d9054788d (patch)
tree490aec21bd028f8ff96b3b33ebcbe1ea3b76d993 /sensitive.sbt.enc
parent5aa390e7cd01c7564c2c78cd786f42801a3ee1f0 (diff)
downloadscala-async-f3f058991b207a07041672a7e119422d9054788d.tar.gz
scala-async-f3f058991b207a07041672a7e119422d9054788d.tar.bz2
scala-async-f3f058991b207a07041672a7e119422d9054788d.zip
Avoid compiler warning when awaiting Future[Unit]
During the ANF transform, we were generating a tree of the shape: { val temp: Unit = await(futureOfUnit) temp () } I tried to simplifiy this to avoid creating the temporary value, but this proved difficult as it would have required changes to the subsequent state machine transformation. Even replacing `temp` with `()` made the state machine transform harder. So for now, I've just inserted `temp.asInstanceOf[Unit]` to hide from the compiler warning. Fixes #74
Diffstat (limited to 'sensitive.sbt.enc')
0 files changed, 0 insertions, 0 deletions