diff options
author | Martin Odersky <odersky@gmail.com> | 2009-11-23 17:50:54 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-11-23 17:50:54 +0000 |
commit | 269486307ad8b15d436467f8035174588ebe9294 (patch) | |
tree | 803225b228bf43c86acd255bb154c8c9003c31ce /src/compiler | |
parent | 3045b84c8c36d25a3936a114e77a2ae1488ec313 (diff) | |
download | scala-269486307ad8b15d436467f8035174588ebe9294.tar.gz scala-269486307ad8b15d436467f8035174588ebe9294.tar.bz2 scala-269486307ad8b15d436467f8035174588ebe9294.zip |
Partial fix for #2683
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Erasure.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Erasure.scala b/src/compiler/scala/tools/nsc/transform/Erasure.scala index b4e2aefd58..af435c8c83 100644 --- a/src/compiler/scala/tools/nsc/transform/Erasure.scala +++ b/src/compiler/scala/tools/nsc/transform/Erasure.scala @@ -285,6 +285,9 @@ abstract class Erasure extends AddInterfaces with typechecker.Analyzer with ast. (parents map jsig).mkString case AnnotatedType(_, atp, _) => jsig(atp) + case BoundedWildcardType(bounds) => + println("something's wrong: "+sym+":"+sym.tpe+" has a bounded wildcard type") + jsig(bounds.hi) case _ => val etp = erasure(tp) if (etp eq tp) throw new UnknownSig |