diff options
author | Kevin Newton <[email protected]> | 2024-05-01 18:26:01 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-05-01 19:19:07 -0400 |
commit | ac0f6716b1aabd3b06ac2cd26839109f56d14edf () | |
tree | 492abe8354ad5038cbe222e9c70f5990c2d8b066 /iseq.c | |
parent | 8ea6daa86d4135e74c8f56b9f8706a7e9a723f6d (diff) |
[PRISM] Respect frozen_string_literal option in RubyVM::InstructionSequence.compile
-rw-r--r-- | iseq.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1274,6 +1274,20 @@ pm_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VALUE line, V pm_parse_result_t result = { 0 }; pm_options_line_set(&result.options, NUM2INT(line)); VALUE error; if (RB_TYPE_P(src, T_FILE)) { VALUE filepath = rb_io_path(src); |