Error type mismatch

Hello, I have an issue with a project in which two different modules (‘MultiPro’ and ‘ProfileMod’) call the same module ‘VortexElement’. However, since ‘MultiPro’ calls the ‘ProfileMod’ module, Julia does not understand that the ‘VortexElement.LinearPanel’ type is the same in both cases…

It throws the following error:

Blockquote

ERROR: LoadError: MethodError: no method matching Main.MultiPro.VortexElement.LinearPanel(::Main.MultiPro.ProfileMod.VortexElement.LinearPanel)
Closest candidates are:
Main.MultiPro.VortexElement.LinearPanel(::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any)

Blockquote

Please

  1. make an MWE and quote your code,

  2. do not post the same question multiple times.