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 c28ea78 commit 3be4e81Copy full SHA for 3be4e81
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -218,6 +218,8 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
218
return "FunProto(" ~ argsText ~ "):" ~ toText(resultType)
219
case tp: IgnoredProto =>
220
return "?"
221
+ case tp @ PolyProto(targs, resType) =>
222
+ return "PolyProto(" ~ toTextGlobal(targs, ", ") ~ "): " ~ toText(resType)
223
case _ =>
224
}
225
super.toText(tp)
0 commit comments