mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Don't call hasType()/getType()/setType() on SubscriptDecls
This commit is contained in:
@@ -2646,8 +2646,6 @@ void Serializer::writeDecl(const Decl *D) {
|
||||
subscript->isImplicit(),
|
||||
subscript->isObjC(),
|
||||
(unsigned) accessors.Kind,
|
||||
addTypeRef(subscript->getType()),
|
||||
addTypeRef(subscript->getElementType()),
|
||||
addTypeRef(subscript->getInterfaceType()),
|
||||
addDeclRef(accessors.Get),
|
||||
addDeclRef(accessors.Set),
|
||||
|
||||
Reference in New Issue
Block a user