Nesting templates is fine. The problem is `myFunc.inner` instead of 
`inner(myFunc)`. For templates it best to use the call `foo(a, b, c)`, or 
command `foo a, b, c` syntax.

See: 
[https://nim-lang.github.io/Nim/manual.html#templates-limitations-of-the-method-call-syntax](https://nim-lang.github.io/Nim/manual.html#templates-limitations-of-the-method-call-syntax)

Reply via email to