File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -332,18 +332,6 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
332332 (keywordText(" delegate " ) provided deleg) ~
333333 toTextLocal(expr) ~ " ." ~ selectorsText
334334 }
335- def selectorText (sel : Tree ): Text = sel match {
336- case Thicket (l :: r :: Nil ) => toTextGlobal(l) ~ " => " ~ toTextGlobal(r)
337- case _ : Ident => toTextGlobal(sel)
338- case TypeBoundsTree (_, tpt) => " for " ~ toTextGlobal(tpt)
339- }
340- val selectorsText : Text = selectors match {
341- case id :: Nil => toText(id)
342- case _ => " {" ~ Text (selectors map selectorText, " , " ) ~ " }"
343- }
344- keywordText(" import " ) ~ (keywordText(" delegate " ) provided importDelegate) ~
345- toTextLocal(expr) ~ " ." ~ selectorsText
346-
347335
348336 tree match {
349337 case id : Trees .BackquotedIdent [_] if ! homogenizedView =>
You can’t perform that action at this time.
0 commit comments