[ruby-core:63571] [ruby-trunk - Bug #9684] Use same error messages in struct.c

From: usa@...
Date: 2014-07-07 03:47:47 UTC
List: ruby-core #63571
Issue #9684 has been updated by Usaku NAKAMURA.

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.

----------------------------------------
Bug #9684: Use same error messages in struct.c
https://bugs.ruby-lang.org/issues/9684#change-47623

* Author: Marcus Stollsteimer
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
* Backport: 2.0.0: DONE, 2.1: DONE
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next