[Issue 7051] Class member with un- at safe destructor gives confusing error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 2 09:57:26 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7051


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch


--- Comment #1 from timon.gehr at gmx.ch 2011-12-02 09:56:21 PST ---
a @safe class is a class that has only safe members.
This design minimizes the annotation overhead for safe code, because you can
mark every function and method in a module as @safe simply by writing

@safe:

at the top.

The error message should certainly be improved though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list