mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-22 07:15:22 +00:00
Make arc compile laser again
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user