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 11ef6e5 commit 1d89f9bCopy full SHA for 1d89f9b
lib/AST/NameLookup.cpp
@@ -751,8 +751,6 @@ extInfoRemovingThrownError(AnyFunctionType *fnType) {
751
752
/// Remove the thrown error type.
753
static CanType removeThrownError(Type type) {
754
- ASTContext &ctx = type->getASTContext();
755
-
756
return type.transformRec([](TypeBase *type) -> std::optional<Type> {
757
if (auto funcTy = dyn_cast<FunctionType>(type)) {
758
if (auto newExtInfo = extInfoRemovingThrownError(funcTy)) {
0 commit comments