diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-09-04 11:51:39 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-09-04 11:51:39 +0000 |
commit | dca3a04243e8a102ae887e105f48a60d09727573 (patch) | |
tree | d65f8bcda405b93fc4183c199760e2783bc05661 | |
parent | d65e4220320ecce840fb49a195b329cfa50f702d (diff) | |
download | scala-dca3a04243e8a102ae887e105f48a60d09727573.tar.gz scala-dca3a04243e8a102ae887e105f48a60d09727573.tar.bz2 scala-dca3a04243e8a102ae887e105f48a60d09727573.zip |
better handle annotated types as the
destination type of an implicit conversion
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
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 _ => } } |