Thread overview | |||||
---|---|---|---|---|---|
|
October 10, 2007 [Issue 1567] New: call to private super-constructor should not be allowed | ||||
---|---|---|---|---|
| ||||
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(); } } -- |
June 11, 2011 [Issue 1567] call to private super-constructor should not be allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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: ------- |
August 13, 2011 [Issue 1567] call to private super-constructor should not be allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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: ------- |
Copyright © 1999-2021 by the D Language Foundation