[Issue 10853] ClassInfo.find doesn't work for nested classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 20 13:09:21 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10853
Jacob Carlborg <doob at me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|druntime |DMD
--- Comment #2 from Jacob Carlborg <doob at me.com> 2013-11-20 13:09:18 PST ---
I'm pretty sure that class infos for nested classes are never added by the
compiler in the first place, see this:
https://github.com/D-Programming-Language/dmd/blob/master/src/toobj.c#L68-L73
The compiler needs to iterate all types that can have nested classes, not just
the members of the module, as it does now. I tried to fix this myself but I
haven't been able to figure out how to iterate all nested types of a function.
I'm setting this back to an issue with the compiler.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list