fixes regression: tactiontable
This commit is contained in:
parent
5a02230bf9
commit
3fef9f08bd
2 changed files with 3 additions and 52 deletions
|
|
@ -809,6 +809,9 @@ proc semIndirectOp(c: PContext, n: PNode, flags: TExprFlags): PNode =
|
|||
return semExpr(c, result, flags)
|
||||
else:
|
||||
n.sons[0] = semExpr(c, n.sons[0])
|
||||
let t = n.sons[0].typ
|
||||
if t != nil and t.kind == tyVar:
|
||||
n.sons[0] = newDeref(n.sons[0])
|
||||
let nOrig = n.copyTree
|
||||
semOpAux(c, n)
|
||||
var t: PType = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue