vars can be 'compileTime'; shallow introduced weird string aliasing bug
This commit is contained in:
parent
ec0f982ed4
commit
1d8ff40f56
2 changed files with 3 additions and 3 deletions
|
|
@ -411,9 +411,9 @@ var
|
|||
|
||||
proc newFileInfo(fullPath, projPath: string): TFileInfo =
|
||||
result.fullPath = fullPath
|
||||
shallow(result.fullPath)
|
||||
#shallow(result.fullPath)
|
||||
result.projPath = projPath
|
||||
shallow(result.projPath)
|
||||
#shallow(result.projPath)
|
||||
|
||||
proc fileInfoIdx*(filename: string): int32 =
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue