diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-05 13:13:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-05 13:13:00 +0000 |
commit | 7084c015bf09fbe1687f51953fce0f96fc48dab9 (patch) | |
tree | 6046df2beed3e78f0f48e0e631cf45ee199bb77e /KNOWNBUGS.rb | |
parent | d1c9c0add417e735e5a34caa2c1f354a2e63db1e (diff) |
compile.c: fix positions encode
* compile.c (ibf_load_iseq_each): iseq_size necessary to encode
positions is set in ibf_load_code(). [Bug #14660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r-- | KNOWNBUGS.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index 0eedc340f3..35a8e75876 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -5,25 +5,3 @@ # This test file includes tests which point out known bugs. # So all tests will cause failure. # -assert_normal_exit("#{<<~"begin;"}\n#{<<~'end;#1'}", timeout: 5) -begin; - str = "#{<<~"begin;"}\n#{<<~'end;'}" - begin; - class P - def p; end - def q; end - E = "" - N = "#{E}" - attr_reader :i - undef p - undef q - remove_const :E - remove_const :N - end - end; - iseq = RubyVM::InstructionSequence.compile(str) - 100.times {|i| - bin = iseq.to_binary - RubyVM::InstructionSequence.load_from_binary(bin).eval - } -end;#1 |