Skip to content

Commit d1af8b3

Browse files
Apply suggestions from code review
Co-authored-by: Jamie Thompson <[email protected]>
1 parent e8e30ed commit d1af8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Synthesizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
364364
tp.tupleElementTypes match
365365
case Some(types) =>
366366
// avoid type aliases for tuples
367-
Right(MirrorSource.GenericTuple(tp.tupleElementTypes.get))
367+
Right(MirrorSource.GenericTuple(types))
368368
case _ => reduce(tp.underlying)
369369
case _ => reduce(tp.underlying)
370370
case tp @ AndType(l, r) =>

0 commit comments

Comments
 (0)