Project

General

Profile

Actions

Backport #7989

closed

ISeq#to_a line info bug

Added by ko1 (Koichi Sasada) about 11 years ago. Updated about 11 years ago.


Description

Please backport r39536:

* iseq.c (iseq_data_to_ary): fix condition.
  r34303 introduces a bug to avoid all line information from
  a result of ISeq#to_a. This is a regression problem from 2.0.0p0.
* test/ruby/test_iseq.rb: add a test of lines after ISeq#to_a.

Related r39539 is a new bug fix. But not mature.

Actions

Also available in: Atom PDF

Like0
Like0Like0