Project

General

Profile

Actions

Bug #9684

closed

Use same error messages in struct.c

Added by stomar (Marcus Stollsteimer) about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
[ruby-core:61721]

Description

In struct.c, use the same error message "`foo' is not a struct member" in

  • rb_struct_getmember (line 97) and
  • rb_struct_set (lines 157)

Files

emsg_struct.patch (366 Bytes) emsg_struct.patch stomar (Marcus Stollsteimer), 03/27/2014 01:49 PM

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Status changed from Open to Feedback

Do you have code to raise those exceptions?

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

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

Applied in changeset r45462.


struct.c: not_a_member message

  • struct.c (not_a_member): extract name error and use same error
    messages. based on the patch by Marcus Stollsteimer <sto.mar AT
    web.de> at [ruby-core:61721]. [Bug #9684]

Updated by usa (Usaku NAKAMURA) almost 10 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

r45462, r45463 and r45466 were backported into ruby_2_1 branch at r46673.

Updated by usa (Usaku NAKAMURA) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE

backported into ruby_2_0_0 at r46741.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0