November 14, 2008 [Issue 2453] New: It is possible to create instances of abstract classes with ClassInfo.create | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2453 Summary: It is possible to create instances of abstract classes with ClassInfo.create Product: D Version: 1.036 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: samukha@voliacable.com abstract class C { } void main() { auto c = cast(C)C.classinfo.create(); assert(!c); // should pass } -- |
November 25, 2008 [Issue 2453] It is possible to create instances of abstract classes with ClassInfo.create | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2453 samukha@voliacable.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from samukha@voliacable.com 2008-11-25 08:06 ------- *** This bug has been marked as a duplicate of 1692 *** -- |
Copyright © 1999-2021 by the D Language Foundation