fixes #20162; locals doesn't work with ORC
This commit is contained in:
parent
8fc19b9e12
commit
25c6491b65
2 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import ".." / [ast, astalgo,
|
|||
proc semLocals*(c: PContext, n: PNode): PNode =
|
||||
var counter = 0
|
||||
var tupleType = newTypeS(tyTuple, c)
|
||||
result = newNodeIT(nkPar, n.info, tupleType)
|
||||
result = newNodeIT(nkTupleConstr, n.info, tupleType)
|
||||
tupleType.n = newNodeI(nkRecList, n.info)
|
||||
let owner = getCurrOwner(c)
|
||||
# for now we skip openarrays ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue