Skip to content

Commit

Permalink
Don't convert the implicit failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 3, 2023
1 parent b010fad commit 9c5a814
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/src/dotty/tools/dotc/typer/Implicits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1346,8 +1346,6 @@ trait Implicits:
case fail: SearchFailure =>
if fail eq ImplicitSearchTooLargeFailure then
fail
else if fail.isAmbiguous then
rank(remaining, found, NoMatchingImplicitsFailure :: rfailures)
else rank(remaining, found, fail :: rfailures)
case best: SearchSuccess =>
if (ctx.mode.is(Mode.ImplicitExploration) || isCoherent)
Expand Down

0 comments on commit 9c5a814

Please sign in to comment.