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.
2 parents b0de920 + b083520 commit 95418f9Copy full SHA for 95418f9
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -316,6 +316,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
316
else dclsText(trueDecls)
317
tparamsText ~ " extends " ~ toTextParents(tp.parents) ~ "{" ~ selfText ~ declsText ~
318
"} at " ~ preText
319
+ case mt: MethodType =>
320
+ toTextGlobal(mt)
321
case tp =>
322
": " ~ toTextGlobal(tp)
323
}
0 commit comments