swift-module-digester: diagnose let to var changes and vice versa as ABI breaking.

This commit is contained in:
Xi Ge
2018-09-27 14:25:35 -07:00
parent c5444a8e99
commit 0afafd1ca4
9 changed files with 31 additions and 10 deletions

View File

@@ -648,6 +648,8 @@ bool SDKNode::operator==(const SDKNode &Other) const {
if (LV->getFixedBinaryOrder() != RV->getFixedBinaryOrder())
return false;
}
if (LV->isLet() != RV->isLet())
return false;
}
}
}