Open iffy opened 3 years ago
import argparse proc run(args: varargs[string]) = discard let p = newParser("foo"): run: echo $opts p.run()
Fails to compile:
/private/tmp/samp.nim(6, 18) template/generic instantiation of `newParser` from here /private/tmp/samp.nim(8, 11) Error: undeclared identifier: 'opts'
Fails to compile: