[PRISM] Pass --enable-frozen-string-literal through to evals

This commit is contained in:
Kevin Newton 2024-03-26 15:32:01 -04:00
parent a1ae29e87d
commit 42d1cd8f7f
6 changed files with 28 additions and 26 deletions

View file

@ -1663,8 +1663,6 @@ pm_eval_make_iseq(VALUE src, VALUE fname, int line,
pm_parse_result_t result = { 0 };
pm_options_line_set(&result.options, line);
pm_options_frozen_string_literal_init(&result, rb_iseq_opt_frozen_string_literal());
// Cout scopes, one for each parent iseq, plus one for our local scope
int scopes_count = 0;
do {