Thread overview
[Issue 9401] New: destructor and nothrow syntax
Jan 26, 2013
Maxim Fomin
May 08, 2013
Henning Pohl
May 09, 2013
Kenji Hara
Sep 09, 2013
Dmitry Olshansky
January 26, 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@puremagic.com
        ReportedBy: monarchdodra@gmail.com


--- Comment #0 from monarchdodra@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: -------
January 26, 2013
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


--- Comment #1 from Maxim Fomin <maxim@maxim-fomin.ru> 2013-01-26 07:14:32 PST ---
(In reply to comment #0)
> 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: -------
April 29, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9401



--- Comment #2 from monarchdodra@gmail.com 2013-04-29 03:38:25 PDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > 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: -------
May 08, 2013
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


--- Comment #3 from Henning Pohl <henning@still-hidden.de> 2013-05-08 03:59:44 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 09, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9401



--- Comment #4 from github-bugzilla@puremagic.com 2013-05-08 17:28:52 PDT ---
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 Merge pull request #1979 from hpohl/9401

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 09, 2013
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: -------
June 03, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9401



--- Comment #5 from github-bugzilla@puremagic.com 2013-06-03 05:04:32 PDT ---
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: -------
September 09, 2013
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


--- Comment #6 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2013-09-09 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: -------