Model review and simulation > Reviewer > Provided PTC reviews > Correctness reviews > Operation hides attribute (Reviewer Review)
Operation hides attribute (Reviewer Review)
An operation has the same name as an attribute on this class or a non-private attribute on a base class.
Consequences
This may be confusing. Some languages treat operations as pointers and this may cause bugs.
Strategy
Rename the operation or attribute.