[ruby-trunk - Bug #10001] [Closed] Binding#local_variables が返ってこない

Issue #10001 has been updated by Nobuyoshi N…

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

Applied in changeset r46645.


proc.c: fix infinite loop

  • proc.c (bind_local_variables): update env from envval for each
    iterations. [ruby-dev:48351] [Bug #10001]

Bug #10001: Binding#local_variables が返ってこない
https://bugs.ruby-lang.org/issues/10001#change-47518

  • Author: 三村 益隆
  • Status: Closed
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version: current: 2.2.0
  • ruby -v: ruby 2.2.0dev (2014-06-26 trunk 46559) [x86_64-darwin13]
  • Backport: 2.0.0: DONTNEED, 2.1: DONTNEED

Binding#local_variables を呼びだすと、ハングアップします。
以下で再現します。

ruby -e 'binding.local_variables'

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs