mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Preserve a deinitializer's interface type.
We haven't actually needed this for anything, but we should probably follow the invariants of the AST. Swift SVN r22199
This commit is contained in:
@@ -1981,7 +1981,8 @@ void Serializer::writeDecl(const Decl *D) {
|
||||
addDeclRef(DC),
|
||||
dtor->isImplicit(),
|
||||
dtor->isObjC(),
|
||||
addTypeRef(dtor->getType()));
|
||||
addTypeRef(dtor->getType()),
|
||||
addTypeRef(dtor->getInterfaceType()));
|
||||
assert(dtor->getBodyParamPatterns().size() == 1);
|
||||
for (auto pattern : dtor->getBodyParamPatterns())
|
||||
writePattern(pattern);
|
||||
|
||||
Reference in New Issue
Block a user