move analyser: fixes another critical bug

This commit is contained in:
Araq
2019-04-29 21:06:23 +02:00
parent 0e1bc3f5ca
commit bb8e2eea38

View File

@@ -607,7 +607,7 @@ proc aliases(obj, field: PNode): bool =
if sameTrees(obj, n): return true
case n.kind
of nkDotExpr, nkCheckedFieldExpr, nkHiddenSubConv, nkHiddenStdConv,
nkObjDownConv, nkObjUpConv, nkHiddenDeref:
nkObjDownConv, nkObjUpConv, nkHiddenDeref, nkDerefExpr:
n = n[0]
of nkBracketExpr:
let x = n[0]