Fix the occurring error when changing the type of an in-/output port
When you place an input or output port on a component (in a component architecture), its (data) type will always be set to "int". As soon as you change it now to another type (any like boolean, double or any user-defined type like enums/structs), an error occurs (see images below).
Interestingly, the type change is still executed and will also be saved in the af3 file. Therefore, you can still continue to work with it. However, the error is annoying and the warning/error might has other (hidden) critical impacts.