File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,11 +187,11 @@ class PlainPrinter(_ctx: Context) extends Printer {
187
187
case tp : MethodType =>
188
188
changePrec(GlobalPrec ) {
189
189
" ("
190
- ~ " given " .provided(tp.isContextualMethod)
191
- ~ " erased " .provided(tp.isErasedMethod)
192
- ~ " implicit " .provided(tp.isImplicitMethod && ! tp.isContextualMethod)
190
+ ~ Str ( " given " ) .provided(tp.isContextualMethod)
191
+ ~ Str ( " erased " ) .provided(tp.isErasedMethod)
192
+ ~ Str ( " implicit " ) .provided(tp.isImplicitMethod && ! tp.isContextualMethod)
193
193
~ paramsText(tp)
194
- ~ (if tp.resultType.isInstanceOf [MethodType ] then " )" else " ): "
194
+ ~ (if tp.resultType.isInstanceOf [MethodType ] then " )" else " ): " )
195
195
~ toText(tp.resultType)
196
196
}
197
197
case tp : ExprType =>
You can’t perform that action at this time.
0 commit comments