[ruby-core:76057] Re: [Ruby trunk Bug#12499] case statement requires keyword "then" in windows
From:
Eric Wong <normalperson@...>
Date:
2016-06-16 21:45:11 UTC
List:
ruby-core #76057
kenneth.abramson@gmail.com wrote: > # if you replace ":" with "then" it does compile > # if you leave out "then" it does not compile This is a Ruby 1.9+ change. "then" is required after "when"; ':' is no longer supported after "when" Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>