digitalmars.D.bugs - [Issue 1567] New: call to private super-constructor should not be allowed
- d-bugmail puremagic.com (34/34) Oct 10 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1567
- d-bugmail puremagic.com (11/11) Jun 11 2011 http://d.puremagic.com/issues/show_bug.cgi?id=1567
- d-bugmail puremagic.com (13/13) Aug 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=1567
http://d.puremagic.com/issues/show_bug.cgi?id=1567 Summary: call to private super-constructor should not be allowed Product: D Version: 1.015 Platform: PC OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: konfusious gmx.de When inheriting from a super class with private constructor, a call to the private super-constructor from inside the inheriting class is not recognized as error. Example: module abstractClass; abstract class AbstractClass { private this() { } } --------------------- import abstractClass; class InheritingClass : AbstractClass { public this() { super(); } } --
Oct 10 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1567 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |yebblies gmail.com --- Comment #1 from yebblies <yebblies gmail.com> 2011-06-11 14:44:53 PDT --- https://github.com/D-Programming-Language/dmd/pull/113 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1567 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-08-12 19:46:08 PDT --- https://github.com/D-Programming-Language/dmd/commit/632708a0ff7b16a393903c5213734dadbbbd1b08 https://github.com/D-Programming-Language/dmd/commit/8e5b1cde9de9d1db7e61591cab8ca9338a0b1df6 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 12 2011