[Issue 10193] Template args to UDA's
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 28 20:49:50 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10193
Diggory <diggsey at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |diggsey at googlemail.com
--- Comment #3 from Diggory <diggsey at googlemail.com> 2013-05-28 20:49:48 PDT ---
It could be implemented by making the template rewrite rule happen before the
attribute rewrite rule, so that this:
@attribute("target", T) void func(string T)(...);
Goes to:
template func(string T) {
@attribute("target", T) void func(...);
}
And then this:
template func(string T) {
@attribute("target", T) {
void func(...);
}
}
Rather than the other way around like it does currently.
Block attributes would be unaffected as they are already expanded.
--
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