diff options
author | Kevin Newton <[email protected]> | 2024-05-20 11:29:50 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-05-20 12:28:47 -0400 |
commit | a708b6aa6589b06ed059ad40e7d4e71ebe0e16e3 (patch) | |
tree | 1691cf10b4ed6f21d2081241f8801a874b8ea9eb /load.c | |
parent | 78e504f21d3148b7b6fa78ea70d10426170f4112 (diff) |
[PRISM] Respect eval coverage setting
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -746,6 +746,7 @@ load_iseq_eval(rb_execution_context_t *ec, VALUE fname) if (*rb_ruby_prism_ptr()) { pm_parse_result_t result = { 0 }; result.options.line = 1; + result.node.coverage_enabled = 1; VALUE error = pm_load_parse_file(&result, fname); |