I've pretty much hit the same roadblock recently for what it's worth. It seems to be a limitation as to how generics and macro code is compiled.
- Associating compile time data with function identifiers yglukhov
- Associating compile time data with function identifiers Vindaar
