mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: diagnose any decl kind changes for nominal types.
This commit is contained in:
@@ -764,6 +764,9 @@ bool SDKNode::operator==(const SDKNode &Other) const {
|
||||
if (Left->getSuperClassName() != Right->getSuperClassName()) {
|
||||
return false;
|
||||
}
|
||||
if (Left->getDeclKind() != Right->getDeclKind()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
LLVM_FALLTHROUGH;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user