Project

General

Profile

Actions

Bug #20740

closed

prism_compile coding issue for PM_FORWARDING_SUPER_NODE

Added by luke-gru (Luke Gruber) about 1 month ago. Updated about 1 month ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119180]

Description

I found a coding issue in prism_compile.c but I can't find a bug that would result from it.

The current_block is not set back when a block is given.

Actions #2

Updated by luke-gru (Luke Gruber) about 1 month ago

  • Status changed from Open to Closed

Applied in changeset commit:git|c14b60630d680addd5b4ef9c9b159a26a5446483.


Fix coding issue in prism_compile.c

Make sure to set back ISEQ_COMPILE_DATA(iseq)->current_block for
forwarding super nodes with a block.

Fixes [Bug #20740]

Actions

Also available in: Atom PDF

Like0
Like0Like0