<div dir="ltr">Yeah, I'm sure this case was just never considered, and needs to be supported.<div style>I had a suspicion it wouldn't work ;)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 May 2013 17:36, Johannes Pfau <span dir="ltr"><<a href="mailto:nospam@example.com" target="_blank">nospam@example.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Tue, 28 May 2013 08:37:12 +1000<br>
schrieb Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>>:<br>
<div class="im"><br>
> Not sure what you mean...<br>
> Using template specialisation for each attribute permutation or<br>
> something?<br>
><br>
><br>
> On 27 May 2013 23:20, David Nadlinger <<a href="mailto:see@klickverbot.at">see@klickverbot.at</a>> wrote:<br>
><br>
</div><div><div class="h5">> > On Monday, 27 May 2013 at 12:02:28 UTC, Manu wrote:<br>
> ><br>
> >> On 27 May 2013 21:40, Iain Buclaw <<a href="mailto:ibuclaw@ubuntu.com">ibuclaw@ubuntu.com</a>> wrote:<br>
> >><br>
> >>> Looks like the frontend rejects this - will find out whether this<br>
> >>> is a bug or intentional...<br>
> >>><br>
> >>><br>
> >> Yep, I saw that coming a mile off! >_<<br>
> >> I can't imagine any good reason why it shouldn't be supported.<br>
> >> Just that nobody ever considered it in the context of UDA's.<br>
> >><br>
> ><br>
> > Does it work if you spell out the template and put the attribute on<br>
> > the function? Might be good as a workaround for testing.<br>
> ><br>
> > David<br>
> ><br>
><br>
<br>
</div></div><a href="http://dpaste.dzfl.pl/5f8f5a7a" target="_blank">http://dpaste.dzfl.pl/5f8f5a7a</a><br>
<br>
(But it seems using getAttribute on that template results in an<br>
internal error in dmd.)<br>
</blockquote></div><br></div>