I'm glad throw is now an expression

kdevel kdevel at vogtner.de
Tue May 17 20:06:35 UTC 2022


On Tuesday, 17 May 2022 at 19:44:01 UTC, max haughton wrote:
[...]
> It also won't be a bug for much longer because I've just 
> updated the implicit conversion tables.

This code

```
void main ()
{
    auto q = throw new Exception ("test");
}
```

crashes my dmd v2.100.0 when compiled

```
$ dmd throwexpr.d
Illegal instruction (core dumped)
```

Is this reproducible?


More information about the Digitalmars-d mailing list