Actions
Bug #12291
closedStruct member accessor is not consistent with hash access when keys are repeated
Bug #12291:
Struct member accessor is not consistent with hash access when keys are repeated
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
Backport:
Updated by jcole1989 (James Coleman) over 10 years ago
I would expect that foo['a'] and foo.a to return the same value.
Updated by jkrmr (Jake Romer) over 10 years ago
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Status changed from Open to Closed
Applied in changeset r54612.
struct.c: unique members
- struct.c (struct_make_members_list, rb_struct_s_def): member
names should be unique. [ruby-core:74971] [Bug #12291]
Updated by naruse (Yui NARUSE) over 10 years ago
- Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE
ruby_2_3 r54637 merged revision(s) 54611,54612.
Updated by usa (Usaku NAKAMURA) over 10 years ago
- Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE to 2.1: REQUIRED, 2.2: DONE, 2.3: DONE
ruby_2_2 r54685 merged revision(s) 54611,54612.
Actions