Open asoffer opened 2 years ago
The following should be allowed:
m ::= import "mod1.ic"
m ::= import "mod2.ic"
Then any use of m.symbol
will look up symbol
in both mod1.ic and mod2.ic.
Importantly though, for ADL, these are still considered two separate modules. If a type is declared it mod1.ic, and a function call is invoked with ADL, we will only look up the symbol in mod1.ic, and not mod2.ic.
I'm not sure exactly what you mean by this. Can you give an example?