bugfix: typo
This commit is contained in:
parent
93158a53a8
commit
8f0d0250cd
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ proc evalVariable(c: PStackFrame, sym: PSym, flags: TEvalFlags): PNode =
|
|||
assert sym.position != 0 or skResult == sym.kind
|
||||
var x = c
|
||||
while x != nil:
|
||||
if sym.owner == c.prc:
|
||||
if sym.owner == x.prc:
|
||||
result = x.slots[sym.position]
|
||||
assert result != nil
|
||||
if not aliasNeeded(result, flags):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue