We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 049c367 + b4e75d1 commit 8b05873Copy full SHA for 8b05873
lib/Sema/TypeCheckAvailability.cpp
@@ -3394,7 +3394,8 @@ class ExprAvailabilityWalker : public ASTWalker {
3394
isa<SelfApplyExpr>(parents[idx]) || // obj.f(a)
3395
isa<IdentityExpr>(parents[idx]) || // (f)(a)
3396
isa<ForceValueExpr>(parents[idx]) || // f!(a)
3397
- isa<BindOptionalExpr>(parents[idx])); // f?(a)
+ isa<BindOptionalExpr>(parents[idx]) || // f?(a)
3398
+ isa<FunctionConversionExpr>(parents[idx]));
3399
3400
auto *call = dyn_cast<ApplyExpr>(parents[idx]);
3401
if (!call || call->getFn() != parents[idx+1])
0 commit comments