[Issue 12228] Identifiers 'this' and 'super' should not be allowed as base classes
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Mar 27 20:54:13 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=12228
--- Comment #7 from yebblies <yebblies at gmail.com> ---
With issue 14348 fixed, all cases from issue 2540 should be replaceable with
typeof(this/super). I think we should seriously consider deprecating and
eventually removing this behavior.
eg Warning: Using 'this' as a type is deprecated, use 'typeof(this)' instead
--
More information about the Digitalmars-d-bugs
mailing list