Project

General

Profile

Bug #233

Block level with binding

Added by ko1 (Koichi Sasada) over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
Backport:
[ruby-dev:35392]

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

#1

Updated by ko1 (Koichi Sasada) over 12 years ago

  • Assignee set to ko1 (Koichi Sasada)

=begin

=end

#2

Updated by yugui (Yuki Sonoda) about 12 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

#3

Updated by yugui (Yuki Sonoda) almost 12 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.2

=begin

=end

#4

Updated by ko1 (Koichi Sasada) almost 12 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