[Issue 12228] Identifiers 'this' and 'super' should not be allowed as base classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 14 11:11:25 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=12228

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #10 from Nick Treleaven <nick at geany.org> ---
It's great that `this` doesn't work as a type in a parameter list now Issue
18228 is fixed, but `super` should probably be disallowed too:

class A
{
    void foo(super i) {}
}

--


More information about the Digitalmars-d-bugs mailing list