Skip to content

Commit 9c5a814

Browse files
committed
Don't convert the implicit failure
1 parent b010fad commit 9c5a814

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,8 +1346,6 @@ trait Implicits:
13461346
case fail: SearchFailure =>
13471347
if fail eq ImplicitSearchTooLargeFailure then
13481348
fail
1349-
else if fail.isAmbiguous then
1350-
rank(remaining, found, NoMatchingImplicitsFailure :: rfailures)
13511349
else rank(remaining, found, fail :: rfailures)
13521350
case best: SearchSuccess =>
13531351
if (ctx.mode.is(Mode.ImplicitExploration) || isCoherent)

0 commit comments

Comments
 (0)