diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2023-01-26 17:49:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 14:49:26 +1300 |
commit | 1b06cd3f09183c14d15ceaada57e425e12a6f3b2 (patch) | |
tree | b875d03facc550da27a4c563e494511d8e364d1e | |
parent | 70829928cb67829d572e124de441013105e63aa9 (diff) |
Pass through `line_offset` argument correctly (but it was always 0). (#7177)
Notes
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -841,7 +841,7 @@ iseq_new_setup_coverage(VALUE path, const rb_ast_body_t *ast, int line_offset) VALUE coverages = rb_get_coverages(); if (RTEST(coverages)) { - iseq_setup_coverage(coverages, path, ast, 0); + iseq_setup_coverage(coverages, path, ast, line_offset); } } |