[Issue 18945] immutable variable is used as if it's an enum

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 5 15:44:55 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18945

--- Comment #8 from David Bennett <davidbennett at bravevision.com> ---
(In reply to David Bennett from comment #7)
> Then there are immutable struct members used at compile time, they might not
> be easy to convert to an enum.
> https://run.dlang.io/is/cfGfxw
> I've never seen it used like that... but it does work currently.

Actually, I reduced that last case a bit to much that it would work fine even
with this change...

--


More information about the Digitalmars-d-bugs mailing list