summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRoger Shi <rogershijicheng@gmail.com>2015-09-08 23:32:53 +0800
committerRoger Shi <rogershijicheng@gmail.com>2015-09-08 23:32:53 +0800
commit6b8bd2bbb78bdc92a9ed264c9328b779600848aa (patch)
treeafb6433e2767ee810622a11830e06ea5e26ced88
parent55e479657a7c626bb635b9158ebabdccf1eb7465 (diff)
downloadNim-6b8bd2bbb78bdc92a9ed264c9328b779600848aa.tar.gz
Fix issue #2245
-rw-r--r--compiler/aliases.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/aliases.nim b/compiler/aliases.nim
index 3d3fc9a79..4b592ee60 100644
--- a/compiler/aliases.nim
+++ b/compiler/aliases.nim
@@ -146,7 +146,7 @@ proc isPartOf*(a, b: PNode): TAnalysisResult =
     # go down recursively; this is quite demanding:
     const
       Ix0Kinds = {nkDotExpr, nkBracketExpr, nkObjUpConv, nkObjDownConv,
-                  nkCheckedFieldExpr}
+                  nkCheckedFieldExpr, nkHiddenAddr}
       Ix1Kinds = {nkHiddenStdConv, nkHiddenSubConv, nkConv}
       DerefKinds = {nkHiddenDeref, nkDerefExpr}
     case b.kind