[Issue 14269] Enum is not implicitly converted to base type when using ref

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 10 15:54:08 PDT 2015


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

--- Comment #19 from Dicebot <public at dicebot.lv> ---
(In reply to Ali Cehreli from comment #18)
> I think this boils down to whether an enum's conversion to its base type is
> an implicit cast (an rvalue), versus the enum itself (an lvalue). (Steven
> says it's the latter.)
> 
> Also, does anyone know what bug fix this was originally about? Perhaps that
> bug was invalid?
> 
> Ali

Kenji is likely to know but I will do the bisection if he won't chime in soon
:)

--


More information about the Digitalmars-d-bugs mailing list