mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user