Thread overview
[Issue 11169] __traits(isAbstractClass) prematurely sets a class to be abstract
Apr 23, 2016
b2.temp@gmx.com
Apr 23, 2016
Kenji Hara
Mar 21, 2020
Basile-z
April 23, 2016
https://issues.dlang.org/show_bug.cgi?id=11169

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--
April 23, 2016
https://issues.dlang.org/show_bug.cgi?id=11169

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

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

--- Comment #4 from Kenji Hara <k.hara.pg@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();
    }
}

--
April 27, 2016
https://issues.dlang.org/show_bug.cgi?id=11169

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/6fd1005dff51380e7bcb11dbc71e2c8bbb46cfb6 fix Issue 11169 - __traits(isAbstractClass) prematurely sets a class to be abstract

__traits(isAbstractClass) should resolve forward references of all class member functions, in order to return stable result.

https://github.com/dlang/dmd/commit/1bc9bad46c0539b243cca683d38cb19677771870 Merge pull request #5695 from 9rnsr/fix11169

Issue 11169 - __traits(isAbstractClass) prematurely sets a class to be abstract

--
April 27, 2016
https://issues.dlang.org/show_bug.cgi?id=11169

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
October 01, 2016
https://issues.dlang.org/show_bug.cgi?id=11169

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/6fd1005dff51380e7bcb11dbc71e2c8bbb46cfb6 fix Issue 11169 - __traits(isAbstractClass) prematurely sets a class to be abstract

https://github.com/dlang/dmd/commit/1bc9bad46c0539b243cca683d38cb19677771870 Merge pull request #5695 from 9rnsr/fix11169

--
August 02, 2017
https://issues.dlang.org/show_bug.cgi?id=11169

--- Comment #7 from github-bugzilla@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/37c1edd25e261ac09aebfee28ed6890a01598d16 Issue 11169 - __traits(isAbstractClass) prematurely sets a class to be abstract

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=11169

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--