diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-22 17:52:24 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-22 17:52:24 +0100 |
commit | 7d3b5f80507accd43ab7f7e70ef801d66540291d (patch) | |
tree | 98e37bf578ae91eb6f34c493894d625fd20b5e92 /src/main/scala | |
parent | 087d1e4e138eccf4b2d420298affb4289632bf73 (diff) | |
download | scala-async-7d3b5f80507accd43ab7f7e70ef801d66540291d.tar.gz scala-async-7d3b5f80507accd43ab7f7e70ef801d66540291d.tar.bz2 scala-async-7d3b5f80507accd43ab7f7e70ef801d66540291d.zip |
Comment.
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/scala/async/AnfTransform.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/scala/async/AnfTransform.scala b/src/main/scala/scala/async/AnfTransform.scala index 0921b55..d06fb54 100644 --- a/src/main/scala/scala/async/AnfTransform.scala +++ b/src/main/scala/scala/async/AnfTransform.scala @@ -78,6 +78,8 @@ class AnfTransform[C <: Context](override val c: C) extends TransformUtils(c) { stats :+ Select(expr, sel) case Apply(fun, args) => + // we an assume that no await call appears in a by-name argument position, + // this has already been checked. val funStats :+ simpleFun = inline.transformToList(fun) val argLists = args map inline.transformToList val allArgStats = argLists flatMap (_.init) |