Skip to content

Commit 1a21558

Browse files
committed
Remove printing of MethodType outside refinements
1 parent 14a5ec5 commit 1a21558

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

library/src/scala/tasty/util/ShowSourceCode.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,12 +847,6 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
847847
case _ => this
848848
}
849849

850-
case Type.MethodType(paramNames, params, body) =>
851-
this += "("
852-
printMethodicTypeParams(paramNames, params)
853-
this += ") => "
854-
printTypeOrBound(body)
855-
856850
case Type.TypeLambda(paramNames, tparams, body) =>
857851
this += "["
858852
printMethodicTypeParams(paramNames, tparams)

0 commit comments

Comments
 (0)