$ nim c --out:"bin/test" -r "~/Documents/monorepo-manager/pkgs/mono/test.nim"
Hint: used config file '~/.choosenim/toolchains/nim-1.6.2/config/nim.cfg' [Conf]
Hint: used config file '~/.choosenim/toolchains/nim-1.6.2/config/config.nims' [Conf]
Hint: used config file '~/Documents/monorepo-manager/pkgs/mono/config.nims' [Conf]
..................................................................................................
~/Documents/monorepo-manager/pkgs/mono/test.nim(5, 7) Error: 'error' can only be used in compile-time context
Simply removing the argparse import results in a successful compilation.
Don't really know if I should be reporting this in the Nim repo or here. However, if I import this library, I'm unable to use the std/logging library.
Compiling this results in:
Simply removing the argparse import results in a successful compilation.