From: matz@... Date: 2015-07-08T01:59:34+00:00 Subject: [ruby-core:69896] [Ruby trunk - Bug #11327] Improve duplicate key warning. Issue #11327 has been updated by Yukihiro Matsumoto. Agreed. Matz ---------------------------------------- Bug #11327: Improve duplicate key warning. https://bugs.ruby-lang.org/issues/11327#change-53314 * Author: Andre Medeiros * Status: Open * Priority: Normal * Assignee: Zachary Scott * ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- This change rephrases the duplicate key warning, which causes some confusion. Before: ~~~ /Users/andre/bug.rb:4: warning: duplicated key at line 5 ignored: :max_instances ~~~ After: ~~~ /Users/andre/bug.rb:4: warning: key :max_instances is duplicated and overwritten on line 5 ~~~ ---Files-------------------------------- message_fix.diff (647 Bytes) -- https://bugs.ruby-lang.org/