Parsing bug?

G

George Ogata

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?)
 
Y

Yukihiro Matsumoto

Hi,

In message "Re: Parsing bug?"

|Should this be a syntax error?

It should work. Thank you for reporting.

matz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top