I am defining a type in my module as following:
use my_other_module
type :: myType
integer :: &
a, b, c
end type myType
type(myType) :: myVariable
myVariable%a=1
myVariable%b=2
myVariable%c=3
my_other_module_function(myVariable)
With this structure, the compiler requires me to define myType in both my main and my other module. I can't import my main module in my other module because that would cause a circular import. How can I structure my program to solve this problem?