Changing "target" parameter via attribute

Manu turkeyman at gmail.com
Tue May 28 01:05:49 PDT 2013


Yeah, I'm sure this case was just never considered, and needs to be
supported.
I had a suspicion it wouldn't work ;)


On 28 May 2013 17:36, Johannes Pfau <nospam at example.com> wrote:

> Am Tue, 28 May 2013 08:37:12 +1000
> schrieb Manu <turkeyman at gmail.com>:
>
> > Not sure what you mean...
> > Using template specialisation for each attribute permutation or
> > something?
> >
> >
> > On 27 May 2013 23:20, David Nadlinger <see at klickverbot.at> wrote:
> >
> > > On Monday, 27 May 2013 at 12:02:28 UTC, Manu wrote:
> > >
> > >> On 27 May 2013 21:40, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
> > >>
> > >>> Looks like the frontend rejects this - will find out whether this
> > >>> is a bug or intentional...
> > >>>
> > >>>
> > >> Yep, I saw that coming a mile off! >_<
> > >> I can't imagine any good reason why it shouldn't be supported.
> > >> Just that nobody ever considered it in the context of UDA's.
> > >>
> > >
> > > Does it work if you spell out the template and put the attribute on
> > > the function? Might be good as a workaround for testing.
> > >
> > > David
> > >
> >
>
> http://dpaste.dzfl.pl/5f8f5a7a
>
> (But it seems using getAttribute on that template results in an
> internal error in dmd.)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130528/ade06784/attachment.html>


More information about the D.gnu mailing list