Bug #233

Block level with binding

Added by Koichi Sasada almost 7 years ago. Updated about 4 years ago.

[ruby-dev:35392]
Status:Closed
Priority:Low
Assignee:Koichi Sasada
ruby -v: Backport:

Description

=begin
 ささだです.

b = binding
10.times{
eval('', b)
}
eval('1.times{raise}', b)

 こんなプログラムで

../trunk/test.rb:5:in eval': (eval):1:inblock (12 levels) in
': (RuntimeError)

こんなふうに,block level が上がってしまいます(12 levels).

 原因は Binding の持ち方の問題なんですが,ぱっと解決策が思いつかな
いため,記録だけしておきます.issue の priority を下げる方法ってウェ
ブ経由でしたっけ.

--
// SASADA Koichi at atdot dot net
=end

Associated revisions

Revision 38795
Added by Zachary Scott over 2 years ago

  • lib/open3.rb : Typo in Open3 overview. Patch by zed_0xff [Github Fixes #233]

Revision 38795
Added by Zachary Scott over 2 years ago

  • lib/open3.rb : Typo in Open3 overview. Patch by zed_0xff [Github Fixes #233]

History

#1 Updated by Koichi Sasada almost 7 years ago

  • Assignee set to Koichi Sasada

=begin

=end

#2 Updated by Yuki Sonoda over 6 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

#3 Updated by Yuki Sonoda over 6 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.2

=begin

=end

#4 Updated by Koichi Sasada over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r21079.
=end

Also available in: Atom PDF