Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 57d3779

Browse files
committed
Fix typo in val name
1 parent f2e055f commit 57d3779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/scala/tools/nsc/typechecker/Implicits.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)