Open Mercerenies opened 4 years ago
As of 50f98da and 050515b, the automatic aliasing rules (i.e. opening the current module) have been extended to apply to the inside of functors. In this case, the aliases will resolve to fully qualified names beginning with the special Self
keyword, which will be substituted to the actual instantiated module name during functor actualization.
We still can't explicitly declare aliases (alias
or open
), and automatic alias resolution fails inside of nested functors right now.
There's no way to declare aliases (using either
alias
oropen
) inside of a functor.Related to #9.