Closed janmasrovira closed 1 week ago
This pr introduces two enchancements to import statements:
using/hiding
import A public; -- equivalent to import A; module A; open A public; end;
It is easier to understand when there is an alias.
import A as X.Y public; -- equivalent to import A; module X; module Y; open A public; end; end;
Public imports are allowed to be combined with using/hiding modifier and open statements with the expected behaviour.
This pr introduces two enchancements to import statements:
using/hiding
list of symbols, with a behaviour analogous to the open statement.It is easier to understand when there is an alias.
Public imports are allowed to be combined with
using/hiding
modifier and open statements with the expected behaviour.