diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-09-02 16:25:42 +0200 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-09-05 20:42:10 +0200 |
commit | 71087fd13adb315b7f8a7ec7423cc49adbd55ecc (patch) | |
tree | adf3510465e18370bfd9a791db78d2ad3cc5bb3e /src/compiler | |
parent | cd07f9f9656ea1bdc6c27ef2be9192d52cd987a5 (diff) | |
download | scala-71087fd13adb315b7f8a7ec7423cc49adbd55ecc.tar.gz scala-71087fd13adb315b7f8a7ec7423cc49adbd55ecc.tar.bz2 scala-71087fd13adb315b7f8a7ec7423cc49adbd55ecc.zip |
make the postfixOps warning go away
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Constructors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Constructors.scala b/src/compiler/scala/tools/nsc/transform/Constructors.scala index cbe4f69d25..2ec7e97ac5 100644 --- a/src/compiler/scala/tools/nsc/transform/Constructors.scala +++ b/src/compiler/scala/tools/nsc/transform/Constructors.scala @@ -174,7 +174,7 @@ abstract class Constructors extends Transform with ast.TreeDSL { omittables ++= outerCandidatesForElision val bodyOfOuterAccessor: Map[Symbol, DefDef] = - defBuf collect { case dd: DefDef if outerCandidatesForElision(dd.symbol) => dd.symbol -> dd } toMap + defBuf.collect { case dd: DefDef if outerCandidatesForElision(dd.symbol) => dd.symbol -> dd }.toMap // no point traversing further once omittables is empty, all candidates ruled out already. object detectUsages extends Traverser { |