parent
8c1083d3b7
commit
c5c4da4f3c
4 changed files with 118 additions and 2 deletions
|
|
@ -640,6 +640,7 @@ proc analyseIfAddressTakenInCall(c: PContext, n: PNode) =
|
|||
|
||||
return
|
||||
for i in countup(1, sonsLen(n) - 1):
|
||||
let n = if n.kind == nkHiddenDeref: n[0] else: n
|
||||
if n.sons[i].kind == nkHiddenCallConv:
|
||||
# we need to recurse explicitly here as converters can create nested
|
||||
# calls and then they wouldn't be analysed otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue