Bug #8351

Error message is not grammatical

Added by Andrew Grimm about 2 years ago. Updated about 2 years ago.

[ruby-core:54725]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
ruby -v:ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

Enumerable#chunk has the error message "symbol begins with an underscore is reserved".

This is not grammatical. Assuming that error messages can be modified, possible fixes include

"symbol begins with an underscore, which is reserved"
"symbols beginning with an underscore are reserved"

Associated revisions

Revision 40539
Added by Benoit Daloze about 2 years ago

  • enum.c (Enumerable#chunk): fix grammar of error message for symbols beginning with an underscore [Bug #8351]

Revision 40539
Added by Benoit Daloze about 2 years ago

  • enum.c (Enumerable#chunk): fix grammar of error message for symbols beginning with an underscore [Bug #8351]

History

#1 Updated by Benoit Daloze about 2 years ago

Thanks, it will be committed soon!

#2 Updated by Benoit Daloze about 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40539.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • enum.c (Enumerable#chunk): fix grammar of error message for symbols beginning with an underscore [Bug #8351]

Also available in: Atom PDF