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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 12 21:56:02 PDT 2015


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

--- Comment #34 from Walter Bright <bugzilla at digitalmars.com> ---
Here's the change that did it:

https://github.com/D-Programming-Language/dmd/pull/4177/files

Essentially, it's the removal of the toBasetype() call.

The problem with deprecating rather than erroring is this function is not
checking for errors, it does match levels, which can cause various changes
upstream.

--


More information about the Digitalmars-d-bugs mailing list