Actions
Bug #11867
closedoverriden constant instance variable mismatch
Bug #11867:
overriden constant instance variable mismatch
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
Updated by nobu (Nobuyoshi Nakada) almost 11 years ago
- Description updated (diff)
- Status changed from Open to Feedback
Exactly.
What do you expect instead?
Updated by shugo (Shugo Maeda) almost 11 years ago
Updated by dingoegret (dingo egret) over 10 years ago
Nobuyoshi Nakada wrote:
Exactly.
What do you expect instead?
I expected the latest constant to set its @b property. If not Class A, at the very least I expected Struct :a to get set. Is this not the intuitive thing to expect? People send arguments based on param ordering in constant definition. This is totally bypassing that expectation.
Updated by jeremyevans0 (Jeremy Evans) about 7 years ago
- Status changed from Feedback to Closed
Actions