Merge pull request #80159 from AnthonyLatsis/danaus-plexippus-5

Sema: Extend adoption mode for `AsyncCallerExecution` to storage declarations
This commit is contained in:
Anthony Latsis
2025-03-26 04:40:58 +00:00
committed by GitHub
32 changed files with 312 additions and 227 deletions

View File

@@ -9383,7 +9383,7 @@ bool DefaultExprTypeMismatch::diagnoseAsError() {
auto overload = getSolution().getCalleeOverloadChoice(locator);
auto *PD = getParameterList(overload.choice.getDecl())->get(paramIdx);
auto *PD = overload.choice.getDecl()->getParameterList()->get(paramIdx);
auto note = emitDiagnosticAt(PD->getLoc(), diag::default_value_declared_here);