summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-09-04 11:51:39 +0000
committerLex Spoon <lex@lexspoon.org>2007-09-04 11:51:39 +0000
commitdca3a04243e8a102ae887e105f48a60d09727573 (patch)
treed65f8bcda405b93fc4183c199760e2783bc05661 /src
parentd65e4220320ecce840fb49a195b329cfa50f702d (diff)
downloadscala-dca3a04243e8a102ae887e105f48a60d09727573.tar.gz
scala-dca3a04243e8a102ae887e105f48a60d09727573.tar.bz2
scala-dca3a04243e8a102ae887e105f48a60d09727573.zip
better handle annotated types as the
destination type of an implicit conversion
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 7d6dc74edd..a15eabcbd8 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3207,6 +3207,8 @@ trait Typers { self: Analyzer =>
getParts(tp.widen, s)
case RefinedType(ps, _) =>
for (p <- ps) getParts(p, s)
+ case AnnotatedType(_, t) =>
+ getParts(t, s)
case _ =>
}
}