summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/transform/Erasure.scala3
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