Project

General

Profile

« Previous | Next » 

Revision 9044b126

Added by nobu (Nobuyoshi Nakada) almost 10 years ago

struct.c: fix index in message

  • struct.c (rb_struct_aref, rb_struct_aset): show the given index,
    not offset index, in the error messages when the offset is out
    of the range.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e