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

Kenji Hara <k.hara...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid

--- Comment #4 from Kenji Hara <k.hara...@gmail.com> ---
https://github.com/dlang/dmd/pull/5695

After my PR, the use of __traits(isAbstractClass) at the condition of static if
in class member will be rejected, because of the unresolved forward reference.
For example:

class C
{
    static if (__traits(isAbstractClass, C))
    {
        abstract void foo();
    }
}

--

Reply via email to