diff options
author | alaviss <alaviss@users.noreply.github.com> | 2019-01-27 20:58:10 +0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-27 14:58:10 +0100 |
commit | 0b02241fc53eff2687b4fad3997159b953888634 (patch) | |
tree | aaa2796f191448680171617e93e8fc45c2b70d84 /compiler/semcall.nim | |
parent | 322f395f319533b1f02f3beeb5953d84e69358ee (diff) | |
download | Nim-0b02241fc53eff2687b4fad3997159b953888634.tar.gz |
semcall: correct lineinfo for accquoted symbols (#10461)
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index 0613a4145..e8723e3df 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -464,7 +464,7 @@ proc updateDefaultParams(call: PNode) = proc getCallLineInfo(n: PNode): TLineInfo = case n.kind - of nkBracketExpr, nkCall, nkCommand: getCallLineInfo(n.sons[0]) + of nkAccQuoted, nkBracketExpr, nkCall, nkCommand: getCallLineInfo(n.sons[0]) of nkDotExpr: getCallLineInfo(n.sons[1]) else: n.info |