From: Daniel Schierbeck Date: 2006-07-28T20:45:04+09:00 Subject: Weird problem with case expressions I have no problem doing this: if foo :bar then ... end Yet when I do this: case "foo" when bar :baz then "bur" end I get the following syntax error: SyntaxError: compile error (irb):30: parse error, unexpected tSYMBEG, expecting kDO or '{' or '(' when bar :baz then "bur" ^ Is this intentional? Having the expression span multiple lines doesn't solve it. Daniel