Thread overview | |||||
---|---|---|---|---|---|
|
October 27, 2011 [Issue 6859] New: Segfault when abstract method uses with contract. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6859 Summary: Segfault when abstract method uses with contract. Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: Koichi.Takio@gmail.com --- Comment #0 from Koichi <Koichi.Takio@gmail.com> 2011-10-27 09:32:59 PDT --- This code doesn't work! -------------------- import std.stdio; void main(string[] args) { auto t = new Child; t.fuga(); writeln("done."); } class Parent { public: bool isHage() const @property; public: abstract void fuga() out { assert(isHage); } body { } } class Child : Parent { override bool isHage() const @property { return true; } override void fuga() { //nop } } -------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 28, 2011 [Issue 6859] Segfault when abstract method uses with contract. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koichi | http://d.puremagic.com/issues/show_bug.cgi?id=6859 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, wrong-code --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-28 03:35:48 PDT --- https://github.com/D-Programming-Language/dmd/pull/478 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 08, 2011 [Issue 6859] Segfault when abstract method uses with contract. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koichi | http://d.puremagic.com/issues/show_bug.cgi?id=6859 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-11-08 00:34:51 PST --- https://github.com/D-Programming-Language/dmd/commit/17d9baeb9f9c000b1b6828baa0bb7c73cb38e31b https://github.com/D-Programming-Language/dmd/commit/8aa616d1a6d25ca7b358d08b1aab1d948597a835 -- 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