disallow recursive module dependencies
This commit is contained in:
parent
204838b358
commit
074f276c8a
14 changed files with 47 additions and 45 deletions
|
|
@ -431,10 +431,10 @@ proc handleCmdLine(cache: IdentCache) =
|
|||
except OSError:
|
||||
gProjectFull = gProjectName
|
||||
var p = splitFile(gProjectFull)
|
||||
gProjectPath = p.dir
|
||||
gProjectPath = canonicalizePath p.dir
|
||||
gProjectName = p.name
|
||||
else:
|
||||
gProjectPath = getCurrentDir()
|
||||
gProjectPath = canonicalizePath getCurrentDir()
|
||||
|
||||
# Find Nim's prefix dir.
|
||||
let binaryPath = findExe("nim")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue