Skip to content

Commit c456947

Browse files
authored
Update compiler/src/dotty/tools/dotc/typer/Applications.scala
1 parent 86f339a commit c456947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ trait Applications extends Compatibility {
17811781

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

0 commit comments

Comments
 (0)