[Issue 16346] Enum used as a constructor evaluates to the underlying type, not to the enum type.
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Jan 13 00:18:01 PST 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16346
--- Comment #2 from github-bugzilla at 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
--
    
    
More information about the Digitalmars-d-bugs
mailing list