File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,11 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
232
232
case dummyTreeOfType(tp) :: Nil if ! (tp isRef defn.NullClass ) => " null: " ~ toText(tp)
233
233
case _ => toTextGlobal(args, " , " )
234
234
}
235
- return " FunProto( " ~ (Str (" given " ) provided tp.isContextual) ~ argsText ~ " ): " ~ toText(resultType)
235
+ return " [applied to " ~ (Str (" given " ) provided tp.isContextual) ~ " ( " ~ argsText ~ " ) returning " ~ toText(resultType) ~ " ] "
236
236
case IgnoredProto (ignored) =>
237
237
return " ?" ~ ((" (ignored: " ~ toText(ignored) ~ " )" ) provided ctx.settings.verbose.value)
238
238
case tp @ PolyProto (targs, resType) =>
239
- return " PolyProto( " ~ toTextGlobal(targs, " , " ) ~ " ): " ~ toText(resType)
239
+ return " [applied to [ " ~ toTextGlobal(targs, " , " ) ~ " ] returning " ~ toText(resType)
240
240
case _ =>
241
241
}
242
242
super .toText(tp)
You can’t perform that action at this time.
0 commit comments