summary refs log tree commit diff stats
path: root/compiler/semcall.nim
diff options
context:
space:
mode:
authoralaviss <alaviss@users.noreply.github.com>2019-01-27 20:58:10 +0700
committerAndreas Rumpf <rumpf_a@web.de>2019-01-27 14:58:10 +0100
commit0b02241fc53eff2687b4fad3997159b953888634 (patch)
treeaaa2796f191448680171617e93e8fc45c2b70d84 /compiler/semcall.nim
parent322f395f319533b1f02f3beeb5953d84e69358ee (diff)
downloadNim-0b02241fc53eff2687b4fad3997159b953888634.tar.gz
semcall: correct lineinfo for accquoted symbols (#10461)
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r--compiler/semcall.nim2
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