Create alias of same name in inner scope, bug or feature?
user1234
user1234 at 12.de
Sat Aug 14 08:23:20 UTC 2021
On Saturday, 14 August 2021 at 04:09:34 UTC, Tejas wrote:
> [...]
> Oh right, the ```.``` operator will reference variable in the
> _module_ scope, not just the _immediate outer scope_,
you can use the module name to disambiguate as well. To extend
Mike answer, the general rule is that if you can distinguish two
names there's no shadowing.
More information about the Digitalmars-d-learn
mailing list