Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/typer/Applications.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Oct 30, 2023
1 parent 86f339a commit c456947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Applications.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ trait Applications extends Compatibility {

overload.println(i"compare($alt1, $alt2)? $tp1 $tp2 $ownerScore $winsType1 $winsType2")
if winsType1 && winsType2
&& (alt1.widenExpr frozen_=:= alt2.widenExpr) && alt1.widenExpr.isStable
&& alt1.widenExpr.isStable && (alt1.widenExpr frozen_=:= alt2.widenExpr)
then
// alternatives are the same after following ExprTypes, pick one of them
// (prefer the one that is not a method, but that's arbitrary).
Expand Down

0 comments on commit c456947

Please sign in to comment.