We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9e3eab commit 70db6b5Copy full SHA for 70db6b5
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -45,7 +45,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
45
protected def debugPos: Boolean = ctx.settings.YdebugPos.value
46
47
def homogenize(tp: Type): Type =
48
- if (homogenizedView) {
+ if (homogenizedView)
49
tp match {
50
case tp: ThisType if tp.cls.is(Package) && !tp.cls.isEffectiveRoot =>
51
ctx.requiredPackage(tp.cls.fullName).termRef
@@ -64,7 +64,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
64
case _ =>
65
tp
66
}
67
- } else tp
+ else tp
68
69
private def sameBound(lo: Type, hi: Type): Boolean =
70
try lo frozen_=:= hi catch { case NonFatal(ex) => false }
0 commit comments