Project

General

Profile

Actions

Bug #1670

closed

assignment to $: breaks rb_vm_struct

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

Status:
Closed
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

Like0
Like0