Issue #5162 has been updated by Shugo Maeda.


art  lussos wrote:
> In the method msg_att in the file imap.rb, the parse error is written as
> 
> parse_error("unknown attribute `%s'", token.value), I believe it should be parse_error("unknown attribute '%s'", token.value).
> 
> Single quotes on both sides of %s

I don't know why the back quote is not good.  Ruby uses back quotes in many other cases.

  $ ruby -e 'foo'
  -e:1:in `<main>': undefined local variable or method `foo' for main:Object (NameError)

----------------------------------------
Bug #5162: IMAP error formatting string
http://redmine.ruby-lang.org/issues/5162

Author: art  lussos
Status: Assigned
Priority: Normal
Assignee: Shugo Maeda
Category: 
Target version: 
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0] 


In the method msg_att in the file imap.rb, the parse error is written as

parse_error("unknown attribute `%s'", token.value), I believe it should be parse_error("unknown attribute '%s'", token.value).

Single quotes on both sides of %s



-- 
http://redmine.ruby-lang.org