Model review and simulation > Reviewer > Provided PTC reviews > Correctness reviews > Immutable operation calling non-immutable operation (Reviewer Review)
Immutable operation calling non-immutable operation (Reviewer Review)
A sequence diagram shows an immutable operation (const) calling a non-immutable operation.
Consequences
Immutability is a powerful concept when modeling, however it does carry a heavy burden. If top level operations are immutable then many other operations will also need to be immutable.
Strategy
Either remove the immutable option from the calling operation or make the called operation immutable.