Skip to content

Commit 165fba8

Browse files
Remove references to ProductN from Definitions.scala
1 parent 64bddf8 commit 165fba8

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
@@ -697,7 +697,6 @@ class Definitions {
697697
def FunctionClassPerRun = new PerRun[Array[Symbol]](implicit ctx => ImplementedFunctionType.map(_.symbol.asClass))
698698

699699
lazy val TupleType = mkArityArray("scala.Tuple", MaxTupleArity, 2)
700-
lazy val ProductNType = mkArityArray("scala.Product", MaxTupleArity, 0)
701700

702701
def FunctionClass(n: Int, isImplicit: Boolean = false)(implicit ctx: Context) =
703702
if (isImplicit) ctx.requiredClass("scala.ImplicitFunction" + n.toString)
@@ -712,7 +711,6 @@ class Definitions {
712711
else FunctionClass(n, isImplicit).typeRef
713712

714713
private lazy val TupleTypes: Set[TypeRef] = TupleType.toSet
715-
private lazy val ProductTypes: Set[TypeRef] = ProductNType.toSet
716714

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

0 commit comments

Comments
 (0)