Skip to content

Commit 1b3a77e

Browse files
committed
Remove unnecessary synthetic parents
1 parent 3327038 commit 1b3a77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ class Definitions {
12991299
def syntheticParent(tparams: List[TypeSymbol]): Type =
13001300
if (tparams.isEmpty) TupleTypeRef
13011301
else TypeOps.nestedPairs(tparams.map(_.typeRef))
1302-
if (isTupleClass(cls) || cls == EmptyTupleClass) parents :+ syntheticParent(tparams)
1302+
if (isTupleClass(cls)) parents :+ syntheticParent(tparams)
13031303
else parents
13041304
}
13051305

0 commit comments

Comments
 (0)