http://d.puremagic.com/issues/show_bug.cgi?id=11169


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-10-04 
04:32:31 PDT ---
(In reply to comment #1)
> If others agree, please change the summary to something like
> 
>   __traits(isAbstractClass) uses the definition that it knows so far, not the
> whole definition of the class

Internal note:

The issue is that __traits(isAbstractClass) has side-effects. It will call
`ClassDeclaration::isAbstract`, but this will not only return the result but
also set the internal `isabstract` field for the class (damn getter functions
with side-effects..). I guess semantic() wasn't called on the class at that
point.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to