parent
5b26f2bd81
commit
061a9183f7
5 changed files with 8 additions and 6 deletions
|
|
@ -860,7 +860,7 @@ type
|
|||
case kind*: TSymKind
|
||||
of routineKinds:
|
||||
#procInstCache*: seq[PInstantiation]
|
||||
gcUnsafetyReason*: PSym # for better error messages wrt gcsafe
|
||||
gcUnsafetyReason*: PSym # for better error messages regarding gcsafe
|
||||
transformedBody*: PNode # cached body after transf pass
|
||||
of skLet, skVar, skField, skForVar:
|
||||
guard*: PSym
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ proc presentationPath*(conf: ConfigRef, file: AbsoluteFile): RelativeFile =
|
|||
if result.isEmpty: bail()
|
||||
elif conf.docRoot.len > 0:
|
||||
# we're (currently) requiring `isAbsolute` to avoid confusion when passing
|
||||
# a relative path (would it be relative wrt $PWD or to projectfile)
|
||||
# a relative path (would it be relative with regard to $PWD or to projectfile)
|
||||
conf.globalAssert conf.docRoot.isAbsolute, arg=conf.docRoot
|
||||
conf.globalAssert conf.docRoot.dirExists, arg=conf.docRoot
|
||||
# needed because `canonicalizePath` called on `file`
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ proc idOrSig*(s: PSym, currentModule: string,
|
|||
sigCollisions: var CountTable[SigHash]): Rope =
|
||||
if s.kind in routineKinds and s.typ != nil:
|
||||
# signatures for exported routines are reliable enough to
|
||||
# produce a unique name and this means produced C++ is more stable wrt
|
||||
# produce a unique name and this means produced C++ is more stable regarding
|
||||
# Nim changes:
|
||||
let sig = hashProc(s)
|
||||
result = rope($sig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue