ABI/API checker: don't complain about changing var to let or vice versa

The tool diagnoses the removal of getter/setter for properties, so complaining about the keyword change can be redundant.

rdar://problem/57201030
This commit is contained in:
Xi Ge
2019-11-14 13:45:23 -08:00
parent 8a61284dbb
commit c8ce5b304c
4 changed files with 0 additions and 8 deletions

View File

@@ -962,9 +962,6 @@ void swift::ide::api::SDKNodeDeclVar::diagnose(SDKNode *Right) {
if (hasFixedBinaryOrder() != RV->hasFixedBinaryOrder()) {
emitDiag(Loc, diag::var_has_fixed_order_change, hasFixedBinaryOrder());
}
if (isLet() != RV->isLet()) {
emitDiag(Loc, diag::var_let_changed, isLet());
}
}
}