Skip to content

Commit fcabb71

Browse files
Remove references to ProductN from Definitions.scala
1 parent ace6e93 commit fcabb71

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

696696
lazy val TupleType = mkArityArray("scala.Tuple", MaxTupleArity, 2)
697-
lazy val ProductNType = mkArityArray("scala.Product", MaxTupleArity, 0)
698697

699698
def FunctionClass(n: Int)(implicit ctx: Context) =
700699
if (n < MaxImplementedFunctionArity) FunctionClassPerRun()(ctx)(n)
@@ -712,7 +711,6 @@ class Definitions {
712711
else FunctionClass(n).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)