Skip to content

Commit c0c7b45

Browse files
committed
Make isMethod false for SubscriptDecl
1 parent 36d1ee7 commit c0c7b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/Decl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@ CanType ValueDecl::getOverloadSignatureType() const {
23282328
defaultSignatureType = mapSignatureFunctionType(
23292329
getASTContext(), getInterfaceType(),
23302330
/*topLevelFunction=*/true,
2331-
/*isMethod=*/true,
2331+
/*isMethod=*/false,
23322332
/*isInitializer=*/false,
23332333
1)->getCanonicalType();
23342334
}

0 commit comments

Comments
 (0)