Thread overview
[Issue 16387] getSymbolsByUDA works with structs but fails with classes
Aug 14, 2016
Max Alibaev
August 14, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

Max Alibaev <o@ololo.im> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |o@ololo.im

--
August 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

gruen_tobias@web.de changed:

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

--- Comment #1 from gruen_tobias@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.

--
August 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

gruen_tobias@web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@puremagic.com        |gruen_tobias@web.de

--
August 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

gruen_tobias@web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|gruen_tobias@web.de         |nobody@puremagic.com

--
August 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

gruen_tobias@web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|nobody@puremagic.com        |gruen_tobias@web.de

--
August 30, 2016
https://issues.dlang.org/show_bug.cgi?id=16387

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

https://github.com/dlang/phobos/commit/b44e3bd24ad19836447bec5891e454958e288836
Fixed Issue 16387
(getSymbolsByUDA works with structs but fails with classes)

- added a filter to skip the inaccessable 'this' member

https://github.com/dlang/phobos/commit/ca5f5cdd13002e520c4474d43ec460457816fc24 Merge pull request #4752 from togrue/fix_16387

Fixed Issue 16387 - getSymbolsByUDA works with structs but fails with classes

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

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

https://github.com/dlang/phobos/commit/b44e3bd24ad19836447bec5891e454958e288836 Fixed Issue 16387

https://github.com/dlang/phobos/commit/ca5f5cdd13002e520c4474d43ec460457816fc24 Merge pull request #4752 from togrue/fix_16387

--