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 efb8115 commit 9bf9e9dCopy full SHA for 9bf9e9d
library/src/scala/tasty/util/ShowSourceCode.scala
@@ -541,8 +541,8 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
541
printTypeTree(lo)
542
this += " <: "
543
printTypeTree(hi)
544
- case tpt@Type() =>
545
- printType(tpt)
+ case tpt @ TypeTree() =>
+ printTypeTree(tpt)
546
}
547
548
def printTypeTree(tree: TypeTree): Buffer = tree match {
0 commit comments