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.
hadError
diagnoseUnhandledThrowsInAsyncContext
1 parent a0d33c3 commit dc9f28fCopy full SHA for dc9f28f
lib/Sema/CSSyntacticElement.cpp
@@ -1977,8 +1977,8 @@ class SyntacticElementSolutionApplication
1977
1978
// Check to see if the sequence expr is throwing (in async context),
1979
// if so require the stmt to have a `try`.
1980
- hadError |= diagnoseUnhandledThrowsInAsyncContext(
1981
- context.getAsDeclContext(), forEachStmt);
+ diagnoseUnhandledThrowsInAsyncContext(context.getAsDeclContext(),
+ forEachStmt);
1982
1983
return forEachStmt;
1984
}
0 commit comments