On Saturday, September 10, 2011 05:20:51 bearophile wrote: > > Try to import that class from another module... > > I fear this is a D design mistake/corner case. If you add tags to a > class/struct definition it usually gets applied to all its methods, but > here it works on the class/struct name itself.
Personally, I think that marking a class with an attribute should only apply to the class and _nothing_ in it, but it doesn't always seem to work that way. - Jonathan M Davis