Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
  • Loading branch information
nicolasstucki and bishabosha authored Jun 9, 2022
1 parent e8e30ed commit d1af8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
tp.tupleElementTypes match
case Some(types) =>
// avoid type aliases for tuples
Right(MirrorSource.GenericTuple(tp.tupleElementTypes.get))
Right(MirrorSource.GenericTuple(types))
case _ => reduce(tp.underlying)
case _ => reduce(tp.underlying)
case tp @ AndType(l, r) =>
Expand Down

0 comments on commit d1af8b3

Please # to comment.