[Issue 6842] Can't use alias of instance member
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 26 11:13:51 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=6842
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #11 from Nick Treleaven <nick at geany.org> ---
> Foo foo;
> alias foo.a b;
For the next edition, this is an error:
https://dlang.org/spec/legacy#alias-instance-member
Added in https://github.com/dlang/dmd/pull/15863.
Refinement: https://github.com/dlang/dmd/pull/16813.
--
More information about the Digitalmars-d-bugs
mailing list