Here I am with a proc: proc cmd_exit(input: string): string = cmdhdl.exit() return "exit" Run
According to the [docs / manual](https://nim-lang.org/docs/manual.html#types-procedural-type), `proc` s without any calling conventions will default to `{.nimcall.}` . Proc types are of `{.closure.}` . However, > a procedure of the calling convention `nimcall` can be passed to a parameter > that expects a proc of the calling convention `closure` . Well I've no idea why the calling convention of my proc has been turned to something else unexpectedly... I thought the linter has gone wrong. It isn't. it doesn't compile. Can anyone explain why the calling convention of the proc turn to something else?