fixes #4550
This commit is contained in:
parent
7ac0b20339
commit
e92ccff57a
1 changed files with 1 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ proc semTuple(c: PContext, n: PNode, prev: PType): PType =
|
||||||
addSon(result.n, newSymNode(field))
|
addSon(result.n, newSymNode(field))
|
||||||
addSonSkipIntLit(result, typ)
|
addSonSkipIntLit(result, typ)
|
||||||
if gCmd == cmdPretty: styleCheckDef(a.sons[j].info, field)
|
if gCmd == cmdPretty: styleCheckDef(a.sons[j].info, field)
|
||||||
|
if result.n.len == 0: result.n = nil
|
||||||
|
|
||||||
proc semIdentVis(c: PContext, kind: TSymKind, n: PNode,
|
proc semIdentVis(c: PContext, kind: TSymKind, n: PNode,
|
||||||
allowed: TSymFlags): PSym =
|
allowed: TSymFlags): PSym =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue