Thread overview
[Issue 16346] Enum used as a constructor evaluates to the underlying type, not to the enum type.
Aug 01, 2016
Eyal
August 01, 2016
https://issues.dlang.org/show_bug.cgi?id=16346

Eyal <eyal@weka.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--
January 12, 2017
https://issues.dlang.org/show_bug.cgi?id=16346

bitter.taste@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitter.taste@gmx.com

--- Comment #1 from bitter.taste@gmx.com ---
Covered by DMD's PR https://github.com/dlang/dmd/pull/6431

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=16346

--- Comment #2 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/82f8a0aa9e5237eaa60ad2df77b83f8b14003115 Fix issue 16346 - Use the correct type when constructing an enum

https://github.com/dlang/dmd/commit/560798618a16e17a6482c9f98f2ec74b1561973b Merge pull request #6431 from LemonBoy/b16346

Fix issue 16346 - Use the correct type when constructing an enum

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=16346

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
January 16, 2017
https://issues.dlang.org/show_bug.cgi?id=16346

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/82f8a0aa9e5237eaa60ad2df77b83f8b14003115 Fix issue 16346 - Use the correct type when constructing an enum

https://github.com/dlang/dmd/commit/560798618a16e17a6482c9f98f2ec74b1561973b Merge pull request #6431 from LemonBoy/b16346

--
March 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16346

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/82f8a0aa9e5237eaa60ad2df77b83f8b14003115 Fix issue 16346 - Use the correct type when constructing an enum

https://github.com/dlang/dmd/commit/560798618a16e17a6482c9f98f2ec74b1561973b Merge pull request #6431 from LemonBoy/b16346

--