www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19741] New: Make ifThrown work in safe code

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 puremagic.com
          Reporter: Bastiaan 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

--
Mar 15 2019