@type.instance_vars in finished macro

IMO macros + annotations are a nice combination, much better than abusing constants in macros that is quite common now. However the main limitation for annotations is they are still pretty new and lacking some features that would make them be even more powerful. Such as this, or getting an array of types that have a given annotation on them. But i’m sure good solutions will be figured out at some point :)

2 Likes