iffy / nim-argparse

Argument parsing for Nim
MIT License
122 stars 8 forks source link

nit: change `do:` to `do ():` in command #84

Closed metagn closed 1 year ago

metagn commented 1 year ago

This exploits a weird behavior in the compiler that is planned to be discouraged, see https://github.com/nim-lang/RFCs/issues/486. do: and do (): are supposed to mean different things, in this case do (): is meant.

iffy commented 1 year ago

Seems like the right change to me. I'll merge once the tests pass.

iffy commented 1 year ago

Live now in v4.0.1

Thanks for the PR!