mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The `call` argument to `diagnoseDeclAsyncAvailability()` may be `nullptr` when the structure of the AST prevents `getEnclosingApplyExpr()` from finding the enclosing apply. The diagnostics implementation introduced with https://github.com/apple/swift/pull/60663 needs to tollerate this, similar to the rest of `diagnoseDeclAsyncAvailability()`. Resolves rdar://100862513
935 B
935 B