Let's imagine a code starting like this. import os, times, glob, strutils from nre import replace, Regex proc decipher(file: string): string = let pathsplit = splitPath(file) let tail = pathsplit.tail.replace(Regex("^[\!\+\-]+\s"), "") let head = pathsplit.head .... Run
In VS Code, I get the following message: expression 'Regex' cannot be called attempting to call routine: 'Regex' found 'nfatype.Regex [declared in /home/svtz/.nimble/pkgs/regex-0.15.0/regex/nfatype.nim(46, 3)]' of kind 'type' found 'nre.Regex [declared in /home/svtz/.choosenim/toolchains/nim-1.2.0/lib/impure/nre.nim(69, 3)]' of kind 'type' Run How does one usually deal with such conflicts? Or is there something wrong with my Nim installation?