F i L wrote:
class CoolClass(bool cool) { @CoolType(cool); int type; }
typo **@Cool(cool);plus, I think a better syntax for attributes might be to have an attribute keyword for definitions and only use "@" for application:
attribute struct CoolType { ... } attribute bool isCool; @CoolType @(isCool = true) string coolText;