Bug 21002 – make std.exception enforce dip1008 agnostic

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Other
Creation time
2020-07-01T15:09:20Z
Last change time
2024-12-01T16:37:12Z
Assigned to
No Owner
Creator
Bruce Carneal
Moved to GitHub: phobos#9801 →

Comments

Comment #0 by bcarneal11 — 2020-07-01T15:09:20Z
From a perusal of phobos exception.d it appears that enforce can be made dip 1008 friendly by specialization of the bailOut routine (line 512 currently) and its caller (line 437 currently). Secondarily, it also appears that such specialization could avoid an .idup.
Comment #1 by robert.schadek — 2024-12-01T16:37:12Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9801 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB