Skip to content

Commit 7721833

Browse files
committed
Fix rebase breakage
1 parent 1b9a7e0 commit 7721833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,8 +1907,8 @@ trait Applications extends Compatibility {
19071907
def comparePrefixes =
19081908
val pre1 = widenPrefix(alt1)
19091909
val pre2 = widenPrefix(alt2)
1910-
val winsPrefix1 = isAsSpecificValueType(pre1, pre2)
1911-
val winsPrefix2 = isAsSpecificValueType(pre2, pre1)
1910+
val winsPrefix1 = isAsGoodValueType(pre1, pre2)
1911+
val winsPrefix2 = isAsGoodValueType(pre2, pre1)
19121912
if winsPrefix1 == winsPrefix2 then 0
19131913
else if winsPrefix1 then 1
19141914
else -1

0 commit comments

Comments
 (0)