Re: [jruby-dev] A bug about if

2007-07-16 Thread dreamhead
I've committed it to JIRA. http://jira.codehaus.org/browse/JRUBY-1205 2007/7/16, Charles Oliver Nutter <[EMAIL PROTECTED]>: Wow, that's a weird one. Looks like a job for Mr. Enebo...unless you have a patch handy :) Could you file a JIRA? - Charlie -

Re: [jruby-dev] A bug about if

2007-07-15 Thread Charles Oliver Nutter
dreamhead wrote: Hi! Here is a bug from a Chinese Forum.It's the link if you can read Chinese. :) http://www.javaeye.com/topic/101327 if "string" puts "true" else puts "false" end C Ruby: true JRuby: false We know all objects should be true except false and nil, so it's a bug. I have d

[jruby-dev] A bug about if

2007-07-15 Thread dreamhead
Hi! Here is a bug from a Chinese Forum.It's the link if you can read Chinese. :) http://www.javaeye.com/topic/101327 if "string" puts "true" else puts "false" end C Ruby: true JRuby: false We know all objects should be true except false and nil, so it's a bug. I have debugged the code. Th