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.
1 parent 10feb16 commit d0f2e06Copy full SHA for d0f2e06
lib/Sema/TypeCheckConcurrency.cpp
@@ -820,9 +820,9 @@ namespace {
820
if (isAsyncCall(outerCall)) {
821
// This call is a partial application within an async call.
822
// If the partial application take a value inout, it is bad.
823
- // if (InOutExpr *inoutArg = dyn_cast<InOutExpr>(
824
- // call->getArg()->getSemanticsProvidingExpr()))
825
- // diagnoseInOutArg(outerCall, inoutArg, true);
+ if (InOutExpr *inoutArg = dyn_cast<InOutExpr>(
+ call->getArg()->getSemanticsProvidingExpr()))
+ diagnoseInOutArg(outerCall, inoutArg, true);
826
}
827
828
0 commit comments