Model review and simulation > Reviewer > Provided PTC reviews > Correctness reviews > Parameter hides attribute (Reviewer Review)
Parameter hides attribute (Reviewer Review)
A parameter has the same as an attribute on the class or as a non-private attribute on a base class.
Consequences
This will make referring to the attribute appear ambiguous in the operation and may introduce errors.
Strategy
The simplest strategy is to rename the parameter.
Was this helpful?