[Issue 10193] Template args to UDA's
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 28 22:10:43 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10193
--- Comment #4 from Manu <turkeyman at gmail.com> 2013-05-28 22:10:42 PDT ---
(In reply to comment #3)
> 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.
I like the way this man thinks! :)
--
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