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 dc52e6f commit b083520Copy full SHA for b083520
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -342,6 +342,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
342
else dclsText(trueDecls)
343
tparamsText ~ " extends " ~ toTextParents(tp.parents) ~ "{" ~ selfText ~ declsText ~
344
"} at " ~ preText
345
+ case mt: MethodType =>
346
+ toTextGlobal(mt)
347
case tp =>
348
": " ~ toTextGlobal(tp)
349
}
0 commit comments