If I have two templates/macros `dsl` and `options` and I want to ensure that the `options` one can be used only in an englobing `dsl` one, is it possible? dsl: options: # This construct is correct ... options: # This one is not ... options: dsl: # Neither this one... ... Run
I've tried having the `dsl` declare a variable and test its presence in `options` with [declaredInScope](https://nim-lang.org/docs/system.html#declaredInScope%2Cuntyped) or [compiles](https://nim-lang.org/docs/system.html#compiles%2Cuntyped), but I can't get it right. How would you do it?