lineInfoObj (and check, expect) now return absolute paths (#8466)

This commit is contained in:
Timothee Cour 2018-07-31 14:02:04 -07:00 • committed by Andreas Rumpf
commit 818d9be311
3 changed files with 4 additions and 2 deletions

View file

@ -1409,7 +1409,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
of opcNGetFile:
decodeB(rkNode)
let n = regs[rb].node
regs[ra].node = newStrNode(nkStrLit, toFilename(c.config, n.info))
regs[ra].node = newStrNode(nkStrLit, toFullPath(c.config, n.info))
regs[ra].node.info = n.info
regs[ra].node.typ = n.typ
of opcNGetLine: