https://issues.dlang.org/show_bug.cgi?id=19728
Basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |[email protected] Hardware|x86 |All OS|Mac OS X |All Severity|enhancement |normal --- Comment #1 from Basile-z <[email protected]> --- test case, w/o phobos --- enum A; enum B; enum Dummy = 0; // <- Dummy needs to be 0 alias Seq(T...) = T; @Seq!(A,B) struct Foo1 {} // rejected @Seq!(A,B, Dummy) struct Foo2 {} // works because of dummy static assert(is(typeof(__traits(getAttributes, Foo1)))); // fails but should not static assert(is(typeof(__traits(getAttributes, Foo2)))); // pk void main() {} --- --
