diff options
author | Paul Phillips <paulp@improving.org> | 2013-03-11 22:11:20 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-03-12 07:35:49 -0700 |
commit | fc5e5581ec2eb91d22cbc8a2f19729c7c9a87254 (patch) | |
tree | a3d9b6faf5b007ff4a8e17f6ac066e1c8959c6e3 /src/compiler/scala/tools/nsc/typechecker/Implicits.scala | |
parent | 9fed30cb9c6d86ca07286febeb44bf635cb23650 (diff) | |
download | scala-fc5e5581ec2eb91d22cbc8a2f19729c7c9a87254.tar.gz scala-fc5e5581ec2eb91d22cbc8a2f19729c7c9a87254.tar.bz2 scala-fc5e5581ec2eb91d22cbc8a2f19729c7c9a87254.zip |
Eliminate a bunch of -Xlint warnings.
Mostly unused private code, unused imports, and points where
an extra pair of parentheses is necessary for scalac to have
confidence in our intentions.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Implicits.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala index 2331f82a58..4b84c21112 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala @@ -311,7 +311,7 @@ trait Implicits { (info2 == NoImplicitInfo) || (info1 != NoImplicitInfo) && { if (info1.sym.isStatic && info2.sym.isStatic) { - improvesCache get (info1, info2) match { + improvesCache get ((info1, info2)) match { case Some(b) => if (Statistics.canEnable) Statistics.incCounter(improvesCachedCount); b case None => val result = isStrictlyMoreSpecific(info1.tpe, info2.tpe, info1.sym, info2.sym) |