Skip to content

Commit 459cc96

Browse files
committed
Remove unnecessary synthetic parents
1 parent fd93089 commit 459cc96

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
@@ -1300,7 +1300,7 @@ class Definitions {
13001300
def syntheticParent(tparams: List[TypeSymbol]): Type =
13011301
if (tparams.isEmpty) TupleTypeRef
13021302
else TypeOps.nestedPairs(tparams.map(_.typeRef))
1303-
if (isTupleClass(cls) || cls == EmptyTupleClass) parents :+ syntheticParent(tparams)
1303+
if (isTupleClass(cls)) parents :+ syntheticParent(tparams)
13041304
else parents
13051305
}
13061306

0 commit comments

Comments
 (0)