You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
EpHasImpactVisitor>>visitProtocolRemoval: incorrectly answer true for protocols that only have trait inherited methods. In this case removing the protocol doesn't have any impact since no methods are removed and the protocol will be kept anyway due to the trait method(s).
To Reproduce
RBSmalllintTestLocalMethodsSameThanTraitObject's private protocol contains only trait methods, so the protocol removal will have no affect (this can be tested by removing it in Calypso, the protocol will still exist and all methods will be present).
Bug description
EpHasImpactVisitor>>visitProtocolRemoval: incorrectly answer true for protocols that only have trait inherited methods. In this case removing the protocol doesn't have any impact since no methods are removed and the protocol will be kept anyway due to the trait method(s).
To Reproduce
RBSmalllintTestLocalMethodsSameThanTraitObject's
private
protocol contains only trait methods, so the protocol removal will have no affect (this can be tested by removing it in Calypso, the protocol will still exist and all methods will be present).The following script should pass:
however the final assertion will fail.
Expected behavior
The above script passes.
Version information:
Expected development cost
PR on the way.
The text was updated successfully, but these errors were encountered: