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 e8e30ed commit d1af8b3Copy full SHA for d1af8b3
compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
@@ -364,7 +364,7 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
364
tp.tupleElementTypes match
365
case Some(types) =>
366
// avoid type aliases for tuples
367
- Right(MirrorSource.GenericTuple(tp.tupleElementTypes.get))
+ Right(MirrorSource.GenericTuple(types))
368
case _ => reduce(tp.underlying)
369
370
case tp @ AndType(l, r) =>
0 commit comments