[Issue 9463] make @safe "non-escapable"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 6 13:59:52 PST 2013


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


Jesse Phillips <Jesse.K.Phillips+D at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jesse.K.Phillips+D at gmail.co
                   |                            |m


--- Comment #1 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2013-02-06 13:59:51 PST ---
Just thought I'd mention implementation shouldn't affect

@safe:

int test1() @system {
    int* p=new int;
    *p++=8;
    return 7;
}

or at minimum:

@safe:

@system:
int test1() {
    int* p=new int;
    *p++=8;
    return 7;
}

-- 
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