Project

General

Profile

Actions

Bug #233

closed

Block level with binding

Added by ko1 (Koichi Sasada) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
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:in block (12 levels) in

': (RuntimeError)

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

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

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

Actions #1

Updated by ko1 (Koichi Sasada) over 15 years ago

  • Assignee set to ko1 (Koichi Sasada)

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

Actions #3

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.2

=begin

=end

Actions #4

Updated by ko1 (Koichi Sasada) over 15 years ago

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

=begin
Applied in changeset r21079.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0