summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-11-04 05:54:01 +0000
committerPaul Phillips <paulp@improving.org>2011-11-04 05:54:01 +0000
commit5df51cc5a6ead1f9d68d1e988cda3a1698daf708 (patch)
tree487ffe2aa323ea44ec72c512e0a1d0cedc7b59eb /src/compiler/scala/tools/nsc/typechecker/Implicits.scala
parent53427f86cd4fd240dfa7ee022f4d6c210c56a3e0 (diff)
downloadscala-5df51cc5a6ead1f9d68d1e988cda3a1698daf708.tar.gz
scala-5df51cc5a6ead1f9d68d1e988cda3a1698daf708.tar.bz2
scala-5df51cc5a6ead1f9d68d1e988cda3a1698daf708.zip
Some modest optimizations and beauty treatments.
No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Implicits.scala2
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 fedf0a9104..75535968fd 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
@@ -66,7 +66,7 @@ trait Implicits {
val result = new ImplicitSearch(tree, pt, isView, context.makeImplicit(reportAmbiguous)).bestImplicit
printInference("[inferImplicit] result: " + result)
- context.undetparams = context.undetparams filterNot result.subst.fromContains
+ context.undetparams = context.undetparams filterNot result.subst.from.contains
stopTimer(implicitNanos, start)
stopCounter(rawTypeImpl, rawTypeStart)