[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Parsing bug?

George Ogata

1/22/2005 9:40:00 PM

Hello,

Should this be a syntax error?

case ''
when String: 1
end

Works with a ' ' before the ':'.

Using:
ruby 1.9.0 (2005-01-22) [i686-linux]

(This caused an error with "gem install actionmailer"; does it work on
1.8?)
1 Answer

Yukihiro Matsumoto

1/26/2005 8:13:00 AM

0

Hi,

In message "Re: Parsing bug?"
on Sun, 23 Jan 2005 06:45:55 +0900, George Ogata <g_ogata@optushome.com.au> writes:

|Should this be a syntax error?

It should work. Thank you for reporting.

matz.