[Issue 23587] cast(void) doesn't work for noreturn
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Dec 30 09:15:52 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23587
RazvanN <razvan.nitu1305 at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com
--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
Why does it matter? The call to fun will never return so casting to void (or
any other value) it actually a no-op.
--
    
    
More information about the Digitalmars-d-bugs
mailing list