Skip to content

Commit 2bab140

Browse files
Remove references to ProductN from Definitions.scala
1 parent 9b63df1 commit 2bab140

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,6 @@ class Definitions {
680680
def FunctionClassPerRun = new PerRun[Array[Symbol]](implicit ctx => ImplementedFunctionType.map(_.symbol.asClass))
681681

682682
lazy val TupleType = mkArityArray("scala.Tuple", MaxTupleArity, 2)
683-
lazy val ProductNType = mkArityArray("scala.Product", MaxTupleArity, 0)
684683

685684
def FunctionClass(n: Int)(implicit ctx: Context) =
686685
if (n < MaxImplementedFunctionArity) FunctionClassPerRun()(ctx)(n)
@@ -698,7 +697,6 @@ class Definitions {
698697
else FunctionClass(n).typeRef
699698

700699
private lazy val TupleTypes: Set[TypeRef] = TupleType.toSet
701-
private lazy val ProductTypes: Set[TypeRef] = ProductNType.toSet
702700

703701
/** If `cls` is a class in the scala package, its name, otherwise EmptyTypeName */
704702
def scalaClassName(cls: Symbol)(implicit ctx: Context): TypeName =

0 commit comments

Comments
 (0)