https://d.puremagic.com/issues/show_bug.cgi?id=12041


Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <[email protected]> 2014-01-30 02:44:21 PST ---
(In reply to comment #1)
> However I still don't understand the diagnostic. I'll change this to be a
> library issue.

In old days, throwing Error from nothrow function had caused "function foo is
nothrow yet may throw" error. As a workaround, WhiteHole used assert(0) instead
throwing NotImplementedError for abstract nothrow functions.

It's also noted in BUGS section of WhiteHole.

BUGS:
  Nothrow functions cause program to abort in release mode because the trap is
  implemented with $(D assert(0)) for nothrow functions.

But today, the compiler/lamguage limitation is already removed. So we can just
remove the workaround code from WhileHole implementation.

Phobos fix:
https://github.com/D-Programming-Language/phobos/pull/1892

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to