[Issue 6917] with() at global scope too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 8 13:43:07 UTC 2021


Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
                 CC|                            |dkorpel at live.nl

--- Comment #3 from Dennis <dkorpel at live.nl> ---
I like the idea too. The workaround I currently use is this:
private alias L = LongNamedEnum;
immutable LongNamedEnum[] array = [L.first, L.second, L.second];


More information about the Digitalmars-d-bugs mailing list