[Issue 16949] [Reg 2.073] confusing @safe error message for fields with unsafe destructors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 6 20:08:31 PST 2016


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Already fixed:

C:\cbx\bug>..\dmd test7 -transition=safe
test7.d(6): Error: @safe destructor 'test7.B.~this' cannot call @system
destructor 'test7.A.~this'

C:\cbx\bug>..\dmd test7
test7.d(6): Error: @safe destructor 'test7.B.~this' cannot call @system
destructor 'test7.A.~this'

--


More information about the Digitalmars-d-bugs mailing list