[Issue 20766] empty string literals passed as optional parameter should not be 0 terminated
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Apr 29 05:53:16 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20766
Simen Kjaeraas <simen.kjaras at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kjaras at gmail.com
         Resolution|---                         |INVALID
--- Comment #2 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Of course the else branch can be executed, just call test(null). Like RazvanN
said, "" is not the same as null.
--
    
    
More information about the Digitalmars-d-bugs
mailing list