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

          Issue ID: 14551
           Summary: scope(failure) block causes bloat in nothrow functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nob...@puremagic.com
          Reporter: and...@erdani.com

Consider the example shown in http://goo.gl/EY3o7p. There, simply adding an
empty scope(failure) block causes an increase in generated code. However, the
function is statically known to not throw so the entire scope(failure)
statement can be eliminated in the front-end.

--

Reply via email to