Forum: Ruby-core [Backport 200 - Backport #7989][Open] ISeq#to_a line info bug

Posted by ko1 (Koichi Sasada) (Guest)
on 2013-02-28 16:32
(Received via mailing list)
Issue #7989 has been reported by ko1 (Koichi Sasada).

----------------------------------------
Backport #7989: ISeq#to_a line info bug
https://bugs.ruby-lang.org/issues/7989

Author: ko1 (Koichi Sasada)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


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.
Posted by nagachika (Tomoyuki Chikanaga) (Guest)
on 2013-03-02 16:42
(Received via mailing list)
Issue #7989 has been updated by nagachika (Tomoyuki Chikanaga).

Status changed from Open to Assigned
Assignee set to nagachika (Tomoyuki Chikanaga)


----------------------------------------
Backport #7989: ISeq#to_a line info bug
https://bugs.ruby-lang.org/issues/7989#change-37257

Author: ko1 (Koichi Sasada)
Status: Assigned
Priority: Normal
Assignee: nagachika (Tomoyuki Chikanaga)
Category:
Target version:


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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.