summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iseq.c14
-rw-r--r--test/.excludes-prism/TestRubyOptimization.rb1
2 files changed, 14 insertions, 1 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);
@@ -1 +0,0 @@
-exclude(:test_peephole_string_literal_range, "unknown")