digitalmars.D.bugs - [Issue 561] New: Incorrect duplicate error messagae when trying to create instance of interface
- d-bugmail puremagic.com Nov 18 2006
- d-bugmail puremagic.com Nov 18 2006
- d-bugmail puremagic.com Mar 23 2007
- d-bugmail puremagic.com Jul 30 2007
http://d.puremagic.com/issues/show_bug.cgi?id=561 Summary: Incorrect duplicate error messagae when trying to create instance of interface Product: D Version: 0.174 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic Severity: minor Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: deewiant gmail.com interface D { void foo(); } void main() { D d = new D(); } The above code errors out with: asdf.d(7): Error: cannot create instance of interface D asdf.d(7): Error: cannot create instance of abstract class D Huh? Abstract class? That's an interface, not an abstract class. The first error message is expected, the second is both incorrect and superfluous. --
Nov 18 2006
http://d.puremagic.com/issues/show_bug.cgi?id=561 deewiant gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Incorrect duplicate error |Incorrect duplicate error |messagae when trying to |message when trying to |create instance of interface|create instance of interface ------- Comment #1 from deewiant gmail.com 2006-11-18 10:47 ------- Damn typos. --
Nov 18 2006
http://d.puremagic.com/issues/show_bug.cgi?id=561 deewiant gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch ------- Comment #2 from deewiant gmail.com 2007-03-23 12:22 ------- This should be easy to fix. expression.c, line 2756, change from: if (cd->isAbstract()) To: else if (cd->isAbstract()) --
Mar 23 2007
http://d.puremagic.com/issues/show_bug.cgi?id=561 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from bugzilla digitalmars.com 2007-07-30 15:46 ------- Fixed DMD 1.019 and 2.003 --
Jul 30 2007









d-bugmail puremagic.com 