authorgravatar for mitchell.hashimoto@gmail.comMitchell Hashimoto <mitchell.hashimoto@gmail.com> 2022-02-26 09:33:03-08:00
committergravatar for mitchell.hashimoto@gmail.comMitchell Hashimoto <mitchell.hashimoto@gmail.com> 2022-02-26 09:33:03-08:00
loga5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b
treec5ad8dd77ee4bc988e1f3b8da3dedd9964fbe1cf
parentf0232fc07d3c8695de351d3000bc7eb3e3f1da5c
signaturelock-open Commit is signed but in an unrecognized format.

typo in comment


1 files changed, 1 insertions(+), 1 deletions(-)

src/Sema.zig+1-1
...@@ -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;
1699616996
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;