diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-05-08 22:20:06 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-05-08 22:22:40 +0200 |
commit | e83df26f7a6bc583599e0b50bdb2f806cbf314f7 (patch) | |
tree | b82a383068ef0eadff6948a0cfcdd4459aaf5d10 | |
parent | ed4cba06177932e1247f0bf3ee38b674517fac72 (diff) | |
download | dotty-e83df26f7a6bc583599e0b50bdb2f806cbf314f7.tar.gz dotty-e83df26f7a6bc583599e0b50bdb2f806cbf314f7.tar.bz2 dotty-e83df26f7a6bc583599e0b50bdb2f806cbf314f7.zip |
Fix dotty deviation failure in TailRec
-rw-r--r-- | src/dotty/tools/dotc/transform/TailRec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/TailRec.scala b/src/dotty/tools/dotc/transform/TailRec.scala index 7d9b37be1..cd0643a6e 100644 --- a/src/dotty/tools/dotc/transform/TailRec.scala +++ b/src/dotty/tools/dotc/transform/TailRec.scala @@ -129,7 +129,7 @@ class TailRec extends TreeTransform with DenotTransformer { Block( List(res), vparamss0.foldLeft(Apply(call, List(This(owner)))) - {case (call, args) => Apply(call, args.map(x=> Ident(x.symbol.termRef)))} + {(call, args) => Apply(call, args.map(x => Ident(x.symbol.termRef)))} ) } else { |