[Issue 9999] Integer literal 0 and 1 should prefer integer type in overload resolution
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Aug 25 16:08:30 UTC 2021
    
    
  
https://issues.dlang.org/show_bug.cgi?id=9999
deadalnix <deadalnix at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---
--- Comment #21 from deadalnix <deadalnix at gmail.com> ---
I'm reopening this.
Sorry, but to put it bluntly, this behavior is completely retarded. There is no
nicer way to put it.
This is turning writing a piece of code I'm working on into a total nightmare
as integers keeps being converted to bool in weird edge cases.
--
    
    
More information about the Digitalmars-d-bugs
mailing list