Skip to content

Commit

Permalink
[PRISM] Eval frames should not have an absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Feb 21, 2024
1 parent fce7804 commit 80ffa30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/.excludes-prism/TestProfileFrames.rb

This file was deleted.

2 changes: 1 addition & 1 deletion vm_eval.c
Expand Up @@ -1736,7 +1736,7 @@ pm_eval_make_iseq(VALUE src, VALUE fname, int line,
iseq = ISEQ_BODY(iseq)->parent_iseq;
}

iseq = pm_iseq_new_eval(&result.node, name, fname, fname, line, parent, 0);
iseq = pm_iseq_new_eval(&result.node, name, fname, Qnil, line, parent, 0);

pm_scope_node_t *prev = result.node.previous;
while (prev) {
Expand Down

0 comments on commit 80ffa30

Please sign in to comment.