summary refs log tree commit diff stats
path: root/compiler/nir/nir.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nir/nir.nim')
-rw-r--r--compiler/nir/nir.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/nir/nir.nim b/compiler/nir/nir.nim
index 1efa6719a..6f7077fb0 100644
--- a/compiler/nir/nir.nim
+++ b/compiler/nir/nir.nim
@@ -57,6 +57,7 @@ proc evalStmt(c: PCtx; n: PNode) =
   #res.add "\n--------------------------\n"
   #toString res, c.m.types.g
   if pc.int < c.m.nirm.code.len:
+    c.bytecode.interactive = c.m.graph.interactive
     execCode c.bytecode, c.m.nirm.code, pc
   #echo res