Skip to content

Commit 1cf91d1

Browse files
committed
Fix rebase breakage
1 parent 3e62583 commit 1cf91d1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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 =>

0 commit comments

Comments
 (0)