[#1551] Hashes as keys — "Nathaniel Talbott" <nathaniel@...>

I was just playing around with Hash#hash and discovered that you can't use a

13 messages 2003/09/23

Re: [bug] Silent death of "ruby -e"

From: nobu.nokada@...
Date: 2003-09-05 15:29:22 UTC
List: ruby-core #1521
Hi,

At Fri, 5 Sep 2003 20:47:25 +0900,
Johan Holmberg wrote:
> I also noticed that this problem is quite new.
> When I run different versions of Ruby from Andrew Hunts Windows
> installer I get:
> 
>     $ e:/ruby173-8/bin/ruby -e 'puts xxx["x"]'
>     -e:1: undefined local variable or method `xxx' for [...]
>     $
>     $ e:/ruby180-10/bin/ruby -e 'puts xxx["x"]'
>     $
> 
> Do you know the reason for the change ?

It was a simple bug.  Thank you for the report.

-- 
Nobu Nakada

In This Thread

Prev Next