Project

General

Profile

Actions

Bug #1670

closed

assignment to $: breaks rb_vm_struct

Added by yugui (Yuki Sonoda) about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-06-21 trunk 23774) [i386-darwin9.7.0]
Backport:
[ruby-dev:38690]

Description

=begin
$:のsetterがデフォルトのsetterなので、rb_vm_structのselfを上書きします。

1.8に倣うと$:はreadonlyであるべきです。
=end

Actions

Also available in: Atom PDF