https://issues.dlang.org/show_bug.cgi?id=19960

Richard Cattermole <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Richard Cattermole <[email protected]> ---
> Autodecoding is never going to work with betterC, because it uses the GC and 
> throws exceptions. So I don't know how to fix this.

Assert; this affects far too much at compile time to not have it work even if
it would if given the wrong input crash a program.

One option might be value-type exceptions if I ever get around to finishing the
DIP. But I'm not keen on the idea of changing the exception mechanism depending
on compiler flags for code like this, so it would be an all-or-nothing change.

--

Reply via email to