digitalmars.D.bugs - Error message not helpful
- Regan Heath (3/3) Apr 05 2005 The error "cannot create instance of abstract class X" does not tell me ...
- Jarrett Billingsley (11/13) Apr 05 2005 I take it you mean something like this?
- Regan Heath (14/27) Apr 05 2005 In my case I was extending a class with abstract methods.
- Stewart Gordon (7/9) Apr 06 2005 Already reported:
The error "cannot create instance of abstract class X" does not tell me what method is un-implemented. Regan
Apr 05 2005
"Regan Heath" <regan netwin.co.nz> wrote in message news:opsoq91ysi23k2f5 nrage.netwin.co.nz...The error "cannot create instance of abstract class X" does not tell me what method is un-implemented.I take it you mean something like this? class A { abstract void foo(); } void main() { A a=new A; }
Apr 05 2005
On Tue, 5 Apr 2005 15:54:36 -0400, Jarrett Billingsley <kb3ctd2 yahoo.com> wrote:"Regan Heath" <regan netwin.co.nz> wrote in message news:opsoq91ysi23k2f5 nrage.netwin.co.nz...In my case I was extending a class with abstract methods. class A { abstract void foo(); } class B : A {} void main() { B b = new B(); } but it's the same thing. ReganThe error "cannot create instance of abstract class X" does not tell me what method is un-implemented.I take it you mean something like this? class A { abstract void foo(); } void main() { A a=new A; }
Apr 05 2005
Regan Heath wrote:The error "cannot create instance of abstract class X" does not tell me what method is un-implemented.Already reported: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1940 Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 06 2005