Skip to content

Commit

Permalink
Add the missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
biboudis committed Feb 5, 2025
1 parent 341cd28 commit 5dc30e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4534,6 +4534,8 @@ private Symbol findSpecific(Type site, Symbol s1, Symbol s2, PatternResolutionPh

if (s1BetterThanAllAmbiguous) {
return s1;
} else {
return amb.addAmbiguousSymbol(s1);
}
} else {
List<Type> bindingTypesCandidate = getBindingTypes(site, (MethodSymbol) s1);
Expand All @@ -4554,8 +4556,6 @@ private Symbol findSpecific(Type site, Symbol s1, Symbol s2, PatternResolutionPh

return symbol;
}

return null;
}

enum ConditionalityResult {
Expand Down

0 comments on commit 5dc30e7

Please sign in to comment.