[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[BUG] :""[] segfaults Ruby

Florian Gross

11/9/2003 2:43:00 PM

Moin!

C:\>ruby
:""[]
-:1: empty symbol literal
:""[]
^
-:1: [BUG] Segmentation fault
ruby 1.8.0 (2003-08-04) [i386-mswin32]

%s[][123] does the same thing.

This seems to crash every Ruby newer than 1.6.8 independent of the
platform it's running on. (I'm not sure about 1.7.x however.)

Regards,
Florian Gross


1 Answer

nobu.nokada

11/9/2003 3:11:00 PM

0

Hi,

At Sun, 9 Nov 2003 23:43:18 +0900,
Florian Gross wrote:
> C:\>ruby
> :""[]
> -:1: empty symbol literal
> :""[]
> ^
> -:1: [BUG] Segmentation fault
> ruby 1.8.0 (2003-08-04) [i386-mswin32]

Thank you for the report. Fixed now.

> This seems to crash every Ruby newer than 1.6.8 independent of the
> platform it's running on. (I'm not sure about 1.7.x however.)

Symbol literal has been introduced since 23 Oct 2002. So only
1.8.0 has this bug.

--
Nobu Nakada