mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #80159 from AnthonyLatsis/danaus-plexippus-5
Sema: Extend adoption mode for `AsyncCallerExecution` to storage declarations
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user