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

Rainer Schuetze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Rainer Schuetze <[email protected]> ---
Here are some more examples of what is allowed with "this" and "super":

class Foo
{
    this(this that, super base)
    {
        // this other = that;
        // static shared(super) s;
    }
    void member(this that)
    {
    }
    super base;
    // this next;
    shared(this) that;
    static shared(super) sup;
}

Commented lines produce an error. See also #13130.

Should this be documented, too?

--

Reply via email to