I'm glad throw is now an expression

Walter Bright newshound2 at digitalmars.com
Tue May 17 19:39:14 UTC 2022


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();
}
---


More information about the Digitalmars-d mailing list