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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|phobos                      |druntime
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
This can be fixed by changing `SwitchError` to take a msg, and then changing
the hook to forward that default message as well (no compiler code need be
changed, all druntime changes).

See hook entry point here:
https://github.com/dlang/dmd/blob/33e8f2ce32831d509fb9052227ca9f33e132a29b/druntime/src/core/internal/switch_.d#L189

--

Reply via email to