[Issue 16387] getSymbolsByUDA works with structs but fails with classes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 15 13:47:17 PDT 2016


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

gruen_tobias at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gruen_tobias at web.de

--- Comment #1 from gruen_tobias at web.de ---
Somehow related to Issue 14740. 

The problem is that MyClass is inside a function, and therefore will get a
additional "this" member. The "this" member is inaccsessible, so if the library
tries to search attribtues it will fail at this "this" member.

--


More information about the Digitalmars-d-bugs mailing list