digitalmars.D.bugs - [Issue 12228] New: Compiler allows 'this' in BaseClassList
- d-bugmail puremagic.com (30/30) Feb 22 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12228
- d-bugmail puremagic.com (12/12) Feb 22 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12228
- d-bugmail puremagic.com (10/10) Feb 22 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12228
https://d.puremagic.com/issues/show_bug.cgi?id=12228 Summary: Compiler allows 'this' in BaseClassList Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 13:56:51 PST --- ----- class A { static class B : this { } } void main() { } ----- The above is expressible via ": typeof(this)", allowing " : this" doesn't make too much sense to me. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 22 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12228 w0rp <devw0rp gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |devw0rp gmail.com I thought of doing this now while writing my SMOKE generator which spits out D source files. I'm not sure if this is bad to have in the language. If I can use one or the other I'll be happy. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 22 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12228 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Likely because of issue 2540, which I think was probably a mistake. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 22 2014