Make arc compile laser again
This commit is contained in:
parent
3de5296337
commit
27579cfd3a
1 changed files with 1 additions and 1 deletions
|
|
@ -1006,7 +1006,7 @@ proc p(n: PNode; c: var Con; s: var Scope; mode: ProcessMode): PNode =
|
|||
result[0] = p(n[0], c, s, mode)
|
||||
for i in 1..<n.len:
|
||||
result[i] = n[i]
|
||||
of nkGotoState, nkState:
|
||||
of nkGotoState, nkState, nkAsmStmt:
|
||||
result = n
|
||||
else:
|
||||
internalError(c.graph.config, n.info, "cannot inject destructors to node kind: " & $n.kind)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue