@elizarov @gregd So far we've been somewhat reluctant to introducing metaprogramming features that add new declarations via executing some code.
That's ok for a language, but introduces many issues in tooling.
However, this might change in the future...