digitalmars.D.bugs - [Issue 9070] New: nothrow of constructer/destructor isn't correct
- d-bugmail puremagic.com (33/33) Nov 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9070
- d-bugmail puremagic.com (10/10) Nov 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9070
- d-bugmail puremagic.com (11/11) Dec 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9070
- d-bugmail puremagic.com (9/9) Dec 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9070
http://d.puremagic.com/issues/show_bug.cgi?id=9070 Summary: nothrow of constructer/destructor isn't correct Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: zan77137 nifty.com --- Comment #0 from SHOO <zan77137 nifty.com> 2012-11-24 04:19:27 PST --- This code doesn't work: struct A(T) { this(U)(U x) { } ~this(){} } void main() { A!int a = A!short(); } -------- Result: main.d(4): Error: x.~this is not nothrow main.d(4): Error: constructor main.A!(int).A.__ctor!(short).this 'this' is nothrow yet may throw main.d(9): Error: template instance main.A!(int).A.__ctor!(short) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 24 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9070 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-11-24 05:02:32 PST --- https://github.com/D-Programming-Language/dmd/pull/1317 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 24 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9070 --- Comment #2 from github-bugzilla puremagic.com 2012-12-03 18:09:48 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cff6404b990fe5d0a88cfc3a2abba86d5139a36e fix Issue 9070 - nothrow of constructer/destructor isn't correct https://github.com/D-Programming-Language/dmd/commit/f9fe4a8a4fa9f25a5f33007c455e0be6a758a1bb Merge pull request #1317 from 9rnsr/fix9070 Issue 9070 - nothrow of constructer/destructor isn't correct -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9070 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: -------
Dec 04 2012