I'm glad throw is now an expression

max haughton maxhaton at gmail.com
Tue May 17 19:44:01 UTC 2022


On Tuesday, 17 May 2022 at 19:39:14 UTC, Walter Bright wrote:
> On 5/16/2022 8:18 AM, deadalnix wrote:
>> Bonus point: it's buggy 
>> https://issues.dlang.org/show_bug.cgi?id=23114
>
> This has nothing in particular to do with throwing expressions. 
> The following fails for the same reason:
>
> ---
> noreturn foo();
>
> int test()
> {
>     return 1 + foo();
> }
> ---

It also won't be a bug for much longer because I've just updated 
the implicit conversion tables.


More information about the Digitalmars-d mailing list