Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 03, 2012 [Issue 8953] New: Parser rejects qualifier after destructor i.e. `~this() <qualifier> { }` | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8953 Summary: Parser rejects qualifier after destructor i.e. `~this() <qualifier> { }` Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-11-03 14:38:17 MSK --- --- struct S { this(int) const { } // ok this(this) const { } // ok ~this() const { } // Error: semicolon expected following function declaration } --- Workaround: put qualifier before destructor: --- const ~this() { } // ok --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 08, 2013 [Issue 8953] Parser rejects qualifier after destructor i.e. `~this() <qualifier> { }` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8953 Henning Pohl <henning@still-hidden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |henning@still-hidden.de --- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-05-08 11:31:11 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 [Issue 8953] Parser rejects qualifier after destructor i.e. `~this() <qualifier> { }` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8953 --- Comment #2 from github-bugzilla@puremagic.com 2013-05-08 17:29:00 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd 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 [Issue 8953] Parser rejects qualifier after destructor i.e. `~this() <qualifier> { }` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8953 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation