Do you think if statement as expression would be nice to have in D?

Walter Bright newshound2 at digitalmars.com
Sun Jun 5 00:48:04 UTC 2022


On 6/4/2022 9:15 AM, Nick Treleaven wrote:
> Just like `throw` is an expression in D now. It's type is noreturn, which 
> implicitly converts to any type.

Which is causing unexpected problems :-/


More information about the Digitalmars-d mailing list