Because I forgot to say that `dsl` and `options` are for users and must be
exported. And Nim prevent exporting templates that are not at the top level.
The following code does not compile:
template dsl*(body: untyped) =
block:
template options*(optionsBody: untyped) =
# ...
body
Run
- Detect englobing scope in macros spip
- Re: Detect englobing scope in macros yglukhov
- Re: Detect englobing scope in macros spip
- Re: Detect englobing scope in macros leorize
- Re: Detect englobing scope in macros pietroppeter
