Skip to content

Commit 402f0c1

Browse files
committed
Remove unused list of types without prefix
1 parent b0564ae commit 402f0c1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,6 @@ class PlainPrinter(_ctx: Context) extends Printer {
140140
case _ => Nil
141141
})
142142

143-
/** Direct references to these symbols are printed without their prefix for convenience.
144-
* They are either aliased in scala.Predef or in the scala package object, as well as `Object`
145-
*/
146-
private lazy val printWithoutPrefix: Set[Symbol] =
147-
(defn.ScalaPredefModule.termRef.typeAliasMembers
148-
++ defn.ScalaPackageObject.termRef.typeAliasMembers).map(_.info.classSymbol).toSet
149-
+ defn.ObjectClass
150-
+ defn.FromJavaObjectSymbol
151-
152143
def toTextCaptureSet(cs: CaptureSet): Text =
153144
if printDebug && ctx.settings.YccDebug.value && !cs.isConst then cs.toString
154145
else if cs == CaptureSet.Fluid then "<fluid>"

0 commit comments

Comments
 (0)