We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873c4b7 commit 1eed5e7Copy full SHA for 1eed5e7
repl/src/dotty/tools/repl/UserFacingPrinter.scala
@@ -86,6 +86,7 @@ class UserFacingPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
86
case tp: ConstantType => toText(tp.value)
87
case tp: TypeAlias => toText(tp.underlying)
88
case ExprType(result) => ":" ~~ toText(result)
89
+ case TypeBounds(lo, hi) => "_"
90
case tp: TypeRef => tp.info match {
91
case TypeAlias(alias) => toText(alias)
92
case _ => toText(tp.info)
repl/test-resources/repl/getClass
@@ -0,0 +1,4 @@
1
+scala> val xs = List(1)
2
+val xs: List[Int] = List(1)
3
+scala> xs.getClass
4
+val res0: Class[_] = class scala.collection.immutable.$colon$colon
0 commit comments