[Issue 12228] New: Compiler allows 'this' in BaseClassList
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 22 13:56:52 PST 2014
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 at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-02-22 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: -------
More information about the Digitalmars-d-bugs
mailing list