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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 6 08:13:44 UTC 2018


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

--- Comment #11 from David Bennett <davidbennett at bravevision.com> ---
(In reply to Simen Kjaeraas from comment #10)
> (In reply to David Bennett from comment #9)
> > https://run.dlang.io/is/zZWdIQ
> > 
> > Only works currently with static immutable
> 
> What do you mean? It works perfectly with enum:
> https://run.dlang.io/is/3Xy5pI

So it does... I'm sure I tried that a while back (years maybe) and it didn't so
I had been avoiding it.

--


More information about the Digitalmars-d-bugs mailing list