Re: UDA tuple flattening

2012-12-18 Thread Max Samukha
On Tuesday, 18 December 2012 at 17:31:49 UTC, jerro wrote: I noticed that this doesn't work with the latest DMD from github: import std.typetuple; struct Foo{} struct Bar{} alias TypeTuple!(Foo, Bar) FooBar; @FooBar void foo(){} pragma(msg, __traits(getAttributes, foo)); When trying to com

UDA tuple flattening

2012-12-18 Thread jerro
I noticed that this doesn't work with the latest DMD from github: import std.typetuple; struct Foo{} struct Bar{} alias TypeTuple!(Foo, Bar) FooBar; @FooBar void foo(){} pragma(msg, __traits(getAttributes, foo)); When trying to compile this, the compiler prints: a.d(6): Error: cannot form t