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 4007e44 + 7bece65 commit ee41fa5Copy full SHA for ee41fa5
lib/AST/Decl.cpp
@@ -11102,7 +11102,7 @@ AccessorDecl *AccessorDecl::createImplicit(ASTContext &ctx,
11102
ctx, /*declLoc=*/SourceLoc(),
11103
/*accessorKeywordLoc=*/SourceLoc(), accessorKind,
11104
storage, async, /*asyncLoc=*/SourceLoc(),
11105
- /*throws=*/true, /*throwsLoc=*/SourceLoc(),
+ /*throws=*/throws, /*throwsLoc=*/SourceLoc(),
11106
thrownType, parent,
11107
/*clangNode=*/ClangNode());
11108
D->setImplicit();
0 commit comments