Make arc compile laser again

This commit is contained in:
Clyybber
2020-07-08 16:20:16 +02:00
committed by GitHub
parent 3de5296337
commit 27579cfd3a

View File

@@ -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)