-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* iseq.c (iseq_data_to_ary): check line info table boundary. line
number 0 means no line number info is needed. [ruby-dev:45130] [Bug ruby#5894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
Sat Jan 14 21:56:43 2012 Nobuyoshi Nakada <[email protected]> | ||
|
||
* iseq.c (iseq_data_to_ary): check line info table boundary. line | ||
number 0 means no line number info is needed. [ruby-dev:45130] | ||
[Bug #5894] | ||
|
||
Sat Jan 14 18:24:13 2012 CHIKANAGA Tomoyuki <[email protected]> | ||
|
||
* error.c (exc_equal): clear rb_thread_t::errinfo when ignore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require 'test/unit' | ||
require_relative 'envutil' | ||
|
||
class TestISeq < Test::Unit::TestCase | ||
ISeq = RubyVM::InstructionSequence | ||
|
||
def test_no_linenum | ||
bug5894 = '[ruby-dev:45130]' | ||
assert_normal_exit('p RubyVM::InstructionSequence.compile("1", "mac", "", 0).to_a', bug5894) | ||
end | ||
end |