summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-10-08 11:24:47 +1000
committerJason Zaugg <jzaugg@gmail.com>2014-10-10 15:23:38 +1000
commita52b9a776bdcd01d0b706727bc89e060817137aa (patch)
tree901b032e12fe4e37bc1937f3d715d9bef5a22539 /test
parent96f47647381425be5c8c0e771590d6abe0f4d231 (diff)
downloadscala-a52b9a776bdcd01d0b706727bc89e060817137aa.tar.gz
scala-a52b9a776bdcd01d0b706727bc89e060817137aa.tar.bz2
scala-a52b9a776bdcd01d0b706727bc89e060817137aa.zip
Avoid needlessly deep chains of ClonedTailContext
I believe ClonedTailContext was added to avoid the need to mutate the Boolean `ctx.tailPos`. All other calls are forwarded to a delegate context. This commit tries to find a delegate context with the right value of `tailPos` to reuse that, rather than creating a wrapper each time we need to flip that bit.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions