Skip to content

Commit

Permalink
move analyser: fixes another critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Apr 29, 2019
1 parent 0e1bc3f commit bb8e2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/dfa.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bb8e2ee

Please sign in to comment.