Lineinfo fix (#10871)
This commit is contained in:
parent
514674cb38
commit
3794338aba
3 changed files with 20 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ proc hasNoInit(call: PNode): bool {.inline.} =
|
|||
|
||||
proc fixupCall(p: BProc, le, ri: PNode, d: var TLoc,
|
||||
callee, params: Rope) =
|
||||
genLineDir(p, ri)
|
||||
var pl = callee & ~"(" & params
|
||||
# getUniqueType() is too expensive here:
|
||||
var typ = skipTypes(ri.sons[0].typ, abstractInst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue