nimfix improvements
This commit is contained in:
parent
c5dbcb548f
commit
22fb9db845
5 changed files with 6 additions and 8 deletions
|
|
@ -1059,7 +1059,7 @@ proc builtinFieldAccess(c: PContext, n: PNode, flags: TExprFlags): PNode =
|
|||
f = getSymFromList(ty.n, i)
|
||||
if f != nil:
|
||||
markUsed(n.sons[1].info, f)
|
||||
styleCheckUse(n.sons[1].info, s)
|
||||
styleCheckUse(n.sons[1].info, f)
|
||||
n.sons[0] = makeDeref(n.sons[0])
|
||||
n.sons[1] = newSymNode(f)
|
||||
n.typ = f.typ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue