Bugs item #3361, was opened at 2006-01-29 08:09
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3361&group_id=426

>Category: Triage (do not select)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tilman Sauerbeck (tilman)
Assigned to: Nobody (None)
Summary: Ruby 1.8.4 parse errors

Initial Comment:
t = Struct.new("Foo", :hour, :min).new
t.hour = t.min = 1
t_offset = (t.hour * 60 * 60) + t.min *60

=> parse error, unexpected tSTAR, expecting $

Changing the end of the line to
"t.min * 60", ie adding a space after the star makes it compile successfully.

This doesn't only affect the '*' operator, but at least '+' suffers from the same bug.

I believe this was introduced with Ruby 1.8.4, but I'm not sure whether it also existed in previous releases.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3361&group_id=426