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 8698c50 commit a24c2c2Copy full SHA for a24c2c2
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -188,7 +188,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
188
case tp: MethodType =>
189
changePrec(GlobalPrec) {
190
"("
191
- ~ keywordText("given ").provided(tp.isContextualMethod)
+ ~ keywordText("using ").provided(tp.isContextualMethod)
192
~ keywordText("erased ").provided(tp.isErasedMethod)
193
~ keywordText("implicit ").provided(tp.isImplicitMethod && !tp.isContextualMethod)
194
~ paramsText(tp)
0 commit comments