Bug 19741 – Make ifThrown work in @safe code

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-03-15T20:13:24Z
Last change time
2024-12-01T16:34:52Z
Assigned to
No Owner
Creator
Bastiaan Veelo
Moved to GitHub: phobos#10368 →

Comments

Comment #0 by Bastiaan — 2019-03-15T20:13:24Z
std.exception.ifThrown doesn’t work in @safe code: https://run.dlang.io/is/d0oTNi H.S.Teoh has done some digging for the why of it: https://forum.dlang.org/post/[email protected]
Comment #1 by robert.schadek — 2024-12-01T16:34:52Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10368 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB