We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd93089 commit 459cc96Copy full SHA for 459cc96
compiler/src/dotty/tools/dotc/core/Definitions.scala
@@ -1300,7 +1300,7 @@ class Definitions {
1300
def syntheticParent(tparams: List[TypeSymbol]): Type =
1301
if (tparams.isEmpty) TupleTypeRef
1302
else TypeOps.nestedPairs(tparams.map(_.typeRef))
1303
- if (isTupleClass(cls) || cls == EmptyTupleClass) parents :+ syntheticParent(tparams)
+ if (isTupleClass(cls)) parents :+ syntheticParent(tparams)
1304
else parents
1305
}
1306
0 commit comments