summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-08-24 15:48:09 +0000
committerMartin Odersky <odersky@gmail.com>2010-08-24 15:48:09 +0000
commitde1f665939dbb983258a7fb67e44e9bb3a408890 (patch)
tree9e31976238b08d253fe5dd02f9b68428534e6faf /src/compiler/scala/tools/nsc/typechecker/Implicits.scala
parent3657dd345fa727773109227e2557881cd1bfa891 (diff)
downloadscala-de1f665939dbb983258a7fb67e44e9bb3a408890.tar.gz
scala-de1f665939dbb983258a7fb67e44e9bb3a408890.tar.bz2
scala-de1f665939dbb983258a7fb67e44e9bb3a408890.zip
Closes #3776. 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 0056dcd917..63b971d2fd 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
@@ -409,7 +409,7 @@ self: Analyzer =>
if (mt.isImplicit) matchesPtView(restpe, ptarg, ptres, undet)
else params.length == 1 && matchesArgRes(params.head.tpe, restpe, ptarg, ptres, undet)
case ExistentialType(tparams, qtpe) =>
- matchesPtView(normalize(tp), ptarg, ptres, undet)
+ matchesPtView(normalize(qtpe), ptarg, ptres, undet)
case Function1(arg1, res1) =>
matchesArgRes(arg1, res1, ptarg, ptres, undet)
case _ => false