[Issue 9401] New: destructor and nothrow syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 26 06:27:17 PST 2013


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

           Summary: destructor and nothrow syntax
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2013-01-26 06:27:15 PST ---
struct S
{
    nothrow ~this() //LEGAL
    {}

    ~this() nothrow //ILLEGAL
    {}
}

Illegal:
main.d(3): Error: semicolon expected following function declaration.

May or may no be related to 9371:
http://d.puremagic.com/issues/show_bug.cgi?id=9371

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