Tooo much fun! Argh, _must_ _stop_ _playing_ and actually work ;( ["int a;"] class A { } class B : A { mixin(__traits(getAttributes, typeof(super))[0]); } can't wait to see all the creative uses this will enable!