[PRISM] Fix ISEQ load
This commit is contained in:
parent
85e5a99e36
commit
94f7098d1c
2
iseq.c
2
iseq.c
@ -1155,7 +1155,7 @@ iseq_load(VALUE data, const rb_iseq_t *parent, VALUE opt)
|
|||||||
tmp_loc.end_pos.column = NUM2INT(rb_ary_entry(code_location, 3));
|
tmp_loc.end_pos.column = NUM2INT(rb_ary_entry(code_location, 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RTEST(rb_hash_aref(misc, ID2SYM(rb_intern("prism"))))) {
|
if (SYM2ID(rb_hash_aref(misc, ID2SYM(rb_intern("parser")))) == rb_intern("prism")) {
|
||||||
ISEQ_BODY(iseq)->prism = true;
|
ISEQ_BODY(iseq)->prism = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
exclude(:test_bug8543, "unknown")
|
|
||||||
exclude(:test_case_when, "unknown")
|
|
||||||
exclude(:test_hidden, "unknown")
|
|
||||||
exclude(:test_kwarg, "unknown")
|
|
||||||
exclude(:test_splatsplat, "unknown")
|
|
Loading…
x
Reference in New Issue
Block a user