Skip to content

Commit a24c2c2

Browse files
committed
Change MethodType syntax to "using"
1 parent 8698c50 commit a24c2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
188188
case tp: MethodType =>
189189
changePrec(GlobalPrec) {
190190
"("
191-
~ keywordText("given ").provided(tp.isContextualMethod)
191+
~ keywordText("using ").provided(tp.isContextualMethod)
192192
~ keywordText("erased ").provided(tp.isErasedMethod)
193193
~ keywordText("implicit ").provided(tp.isImplicitMethod && !tp.isContextualMethod)
194194
~ paramsText(tp)

0 commit comments

Comments
 (0)