www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9401] New: destructor and nothrow syntax

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: monarchdodra gmail.com



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: -------
Jan 26 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401


Maxim Fomin <maxim maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim maxim-fomin.ru



---

 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
It seems that no attribute after ~this() is supported. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 26 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401






 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
It seems that no attribute after ~this() is supported.
Just re-hit this with "pure". Ping I guess. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 29 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401


Henning Pohl <henning still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning still-hidden.de



PDT ---
https://github.com/D-Programming-Language/dmd/pull/1979

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 08 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/48e97a5d59010d687d8833937f604f193b49cdf9
fix issue 9401 - destructor and nothrow syntax

https://github.com/D-Programming-Language/dmd/commit/a959f220ce7d6191d2247b5355acb9755fbe8e36


fix issues 8347, 8953 and 9401 - destructor and nothrow syntax

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 08 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|unspecified                 |D2
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 08 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401




Commit pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/2ad0347b58d4b5e3483cd434138013e0afdd1316
Fix destructor grammar

Reflect the correction of issue 9401.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 03 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9401


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh gmail.com



10:36:52 PDT ---
*** Issue 9371 has been marked as a duplicate of this issue. ***

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