[Issue 18493] [betterC] Can't use aggregated type with postblit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 18 03:34:26 UTC 2018


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

Mike Franklin <slavo5150 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |slavo5150 at yahoo.com

--- Comment #4 from Mike Franklin <slavo5150 at yahoo.com> ---
A PR has been submitted to remove generation of the try-catch if the postblit
is `nothrow`:  https://github.com/dlang/dmd/pull/8184

I don't consider this a complete fix to this issue, but if it is accepted, it
will allow one to attribute their postblit with `nothrow` to avoid the error in
-betterC.

I'm pondering a more thorough solution for -betterC, and intend to tackle that
as another PR.

--


More information about the Digitalmars-d-bugs mailing list