[Issue 10023] Add rtInfo (or equivalent) to ModuleInfo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 29 06:04:40 PDT 2013


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



--- Comment #3 from Jacob Carlborg <doob at me.com> 2013-06-29 06:04:39 PDT ---
I have an idea how to make RTInfo and my proposed RMInfo, in the pull request,
work outside object.di.

1. We add a new struct (rtIfno/rmInfo) to object.di as an UDA recognized by the
compiler

2. If a template that have the correct signature and the object.rtInfo UDA
attached, instantiated that as RTInfo/RMInfo

3. Collect the result of the RTInfo/RMInfo template in an associative array.
The keys will be the fully qualified name of the module the template is defined
in, the values will be what the same as now

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


More information about the Digitalmars-d-bugs mailing list