Bug 19416 – Make core.exception.onOutOfMemoryError work in betterC

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-11-20T02:15:26Z
Last change time
2018-11-20T08:12:28Z
Assigned to
No Owner
Creator
Nathan S.
See also
https://issues.dlang.org/show_bug.cgi?id=19396

Comments

Comment #0 by n8sh.secondary — 2018-11-20T02:15:26Z
core.exception is the home of a bunch of on-error functions that throw Errors. In a betterC build they could assert(0) instead.
Comment #1 by github-bugzilla — 2018-11-20T08:12:27Z
Commit pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/459dda6db6c7708cfdbe91ea964d26891c18f954 Fix Issue 19416 - Make core.exception.onOutOfMemoryError work in betterC