It appears that it matters in what order Code modules are added when using Types.
Create a new project and then try the following:
Add a code module (mod1)
Add another code module (mod2)
In mod2, in the Process_Globals add
Go back to mod1, and add
Now it won't compile - missing type "aaa".
If you do it the other way around (type aaa in mod1 and zzz in mod2) it works.
Can this be fixed please?
Create a new project and then try the following:
Add a code module (mod1)
Add another code module (mod2)
In mod2, in the Process_Globals add
B4X:
Type aaa (a As Int)
B4X:
Type zzz (a as aaa)
Now it won't compile - missing type "aaa".
If you do it the other way around (type aaa in mod1 and zzz in mod2) it works.
Can this be fixed please?