[Issue 19741] New: Make ifThrown work in @safe code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 15 20:13:24 UTC 2019


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

          Issue ID: 19741
           Summary: Make ifThrown work in @safe code
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: Bastiaan at Veelo.net

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/mailman.7542.1552677586.29801.digitalmars-d-learn@puremagic.com

--


More information about the Digitalmars-d-bugs mailing list