Same Parameter Containing Different Types

Parent category: Violations Associated with Parameters

Default report mode: 


This violation occurs when two parameters possessing the same name have been assigned to the same design object, but the parameters have differing types.


If compiler errors and warnings are enabled for display on the schematic (enabled on the Schematic - Compiler page of the Preferences dialog) an offending object will display a colored squiggle beneath it. A notification is also displayed in the Messages panel in the following format:

Same parameter contains different types <Object> <Types> ,


Object is the particular object to which the offending parameter is associated.

Types shows the different types for the parameter as a pairing (e.g. BOOLEAN and STRING).

Since there are two offending parameters, a pair of errors will be displayed in the Messages panel. They will simply differ in the order of the types, with the type for the parameter in error being listed first, followed by the type of the other offending parameter in the pairing.

Recommendation for Resolution

Typically, you would not have multiple parameters of the same name associated to an object. Review the parameters assigned to the object and remove the erroneous/redundant one.


You are reporting an issue with the following selected text and/or image within the active document: