summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 39fb7dc821..f94be00187 100644
--- a/vm.c
+++ b/vm.c
@@ -1350,7 +1350,8 @@ rb_binding_add_dynavars(VALUE bindval, rb_binding_t *bind, int dyncount, const I
rb_node_init(&tmp_node, NODE_SCOPE, (VALUE)dyns, 0, 0);
ast.root = &tmp_node;
- ast.compile_option = 0;
+ ast.frozen_string_literal = -1;
+ ast.coverage_enabled = -1;
ast.script_lines = INT2FIX(-1);
if (base_iseq) {