We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c9eab commit 0400253Copy full SHA for 0400253
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -911,7 +911,7 @@ trait Implicits { self: Typer =>
911
if (ctx == NoContext) ctx
912
else ctx.freshOver(FindHiddenImplicitsCtx(ctx.outer)).addMode(Mode.FindHiddenImplicits)
913
914
- inferImplicit(fail.expectedType, fail.argument, fail.argument.span)(
+ inferImplicit(fail.expectedType, fail.argument, arg.span)(
915
FindHiddenImplicitsCtx(ctx)) match {
916
case s: SearchSuccess => hiddenImplicitNote(s)
917
case f: SearchFailure =>
0 commit comments