I ran into this while loading objects from a file using Object.factory and forgot to implement an abstract function in one class.
Re: unimplemented abstract function compiles.
Eric via Digitalmars-d-learn Sun, 12 Aug 2018 10:31:09 -0700
I thought it would work the same way as an interface (which must
be implemented by the direct sub class, otherwise compile error).
But apparently it's possible to implement an abstract function
anywhere in the class hierarchy. That makes it, in this case,
impossible to check during compile time.
- unimplemented abstract function c... Eric via Digitalmars-d-learn
- Re: unimplemented abstract f... rikki cattermole via Digitalmars-d-learn
- Re: unimplemented abstra... ag0aep6g via Digitalmars-d-learn
- Re: unimplemented ab... rikki cattermole via Digitalmars-d-learn
- Re: unimplemented ab... Nicholas Wilson via Digitalmars-d-learn
- Re: unimplemented abstract f... ag0aep6g via Digitalmars-d-learn
- Re: unimplemented abstra... Eric via Digitalmars-d-learn
- Re: unimplemented ab... ag0aep6g via Digitalmars-d-learn
- Re: unimplemented ab... Jacob Carlborg via Digitalmars-d-learn