Project

General

Profile

Bug #10001

Binding#local_variables が返ってこない

Added by takkanm (三村 益隆) almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 2.2.0dev (2014-06-26 trunk 46559) [x86_64-darwin13]
[ruby-dev:48351]

Description

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

ruby -e 'binding.local_variables'

Updated by usa (Usaku NAKAMURA) almost 6 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

  • 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]

Also available in: Atom PDF