Open cpunion opened 2 years ago
Splitted template exec
to two definitions:
template exec*(args: varargs[string, `$`]; inner: untyped)
template exec*(args: seq[string]; inner: untyped)
It works.
Pull Request welcome.
@juancarlospaco So what is the reason? Does the Nim compiler has a break change?
I'm not sure it's a good way, too many template methods need to change.
I am kinda waiting for Nim 2.0
to re-check everything one-by-one, because it may bring improvements in multiple places,
but if you need it urgently then feel free to send Pull Request.
Test code below copied from README.md :
It compiles fail: