File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/compiler/scala/tools/nsc/typechecker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1361,7 +1361,7 @@ trait Implicits {
13611361 val succstart = if (stats) Statistics .startTimer(oftypeSucceedNanos) else null
13621362
13631363 // SI-6667, never search companions after an ambiguous error in in-scope implicits
1364- val wasAmbigious = result.isAmbiguousFailure
1364+ val wasAmbiguous = result.isAmbiguousFailure
13651365
13661366 // TODO: encapsulate
13671367 val previousErrs = context.reporter.errors
@@ -1371,7 +1371,7 @@ trait Implicits {
13711371
13721372 // `materializeImplicit` does some preprocessing for `pt`
13731373 // is it only meant for manifests/tags or we need to do the same for `implicitsOfExpectedType`?
1374- if (result.isFailure && ! wasAmbigious )
1374+ if (result.isFailure && ! wasAmbiguous )
13751375 result = searchImplicit(implicitsOfExpectedType, isLocalToCallsite = false )
13761376
13771377 if (result.isFailure)
You can’t perform that action at this time.
0 commit comments