| ... | @@ -16994,7 +16994,7 @@ fn resolvePeerTypes( | ... | @@ -16994,7 +16994,7 @@ fn resolvePeerTypes( |
| 16994 | if (candidate_ty.eql(chosen_ty)) | 16994 | if (candidate_ty.eql(chosen_ty)) |
| 16995 | continue; | 16995 | continue; |
| 16996 | | 16996 | |
| 16997 | // If the candidate can coernce into our chosen type, we're done. | 16997 | // If the candidate can coerce into our chosen type, we're done. |
| 16998 | // If the chosen type can coerce into the candidate, use that. | 16998 | // If the chosen type can coerce into the candidate, use that. |
| 16999 | if ((try sema.coerceInMemoryAllowed(block, chosen_ty, candidate_ty, false, target, src, src)) == .ok) { | 16999 | if ((try sema.coerceInMemoryAllowed(block, chosen_ty, candidate_ty, false, target, src, src)) == .ok) { |
| 17000 | continue; | 17000 | continue; |