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 081b6ad commit 310615eCopy full SHA for 310615e
src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -223,15 +223,15 @@ class PlainPrinter(_ctx: Context) extends Printer {
223
case SuperType(thistpe: SingletonType, _) =>
224
toTextRef(thistpe).map(_.replaceAll("""\bthis$""", "super"))
225
case SuperType(thistpe, _) =>
226
- "Super(" ~ toTextLocal(thistpe) ~ ")"
+ "Super(" ~ toTextGlobal(thistpe) ~ ")"
227
case tp @ ConstantType(value) =>
228
toText(value)
229
case MethodParam(mt, idx) =>
230
nameString(mt.paramNames(idx))
231
case tp: RefinedThis =>
232
s"${nameString(tp.binder.typeSymbol)}{...}.this"
233
case tp: SkolemType =>
234
- "<skolem>" // !!! todo refine with unique identifier.
+ "<unknown instance of type " ~ toTextGlobal(tp.info) ~ ">"
235
}
236
237
0 commit comments