ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:69860] [Ruby trunk - Bug #11327] [Open] Improve duplicate key warning.
       [not found] <redmine.issue-11327.20150703193002@ruby-lang.org>
@ 2015-07-03 19:30 ` me
  2015-07-07 18:29 ` [ruby-core:69890] [Ruby trunk - Bug #11327] " zzak
  2015-07-08  1:59 ` [ruby-core:69896] " matz
  2 siblings, 0 replies; 3+ messages in thread
From: me @ 2015-07-03 19:30 UTC (permalink / raw)
  To: ruby-core

Issue #11327 has been reported by Andre Medeiros.

----------------------------------------
Bug #11327: Improve duplicate key warning. 
https://bugs.ruby-lang.org/issues/11327

* 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:69890] [Ruby trunk - Bug #11327] Improve duplicate key warning.
       [not found] <redmine.issue-11327.20150703193002@ruby-lang.org>
  2015-07-03 19:30 ` [ruby-core:69860] [Ruby trunk - Bug #11327] [Open] Improve duplicate key warning me
@ 2015-07-07 18:29 ` zzak
  2015-07-08  1:59 ` [ruby-core:69896] " matz
  2 siblings, 0 replies; 3+ messages in thread
From: zzak @ 2015-07-07 18:29 UTC (permalink / raw)
  To: ruby-core

Issue #11327 has been updated by Zachary Scott.


If matz will approve, and no objection, I will commit it.

----------------------------------------
Bug #11327: Improve duplicate key warning. 
https://bugs.ruby-lang.org/issues/11327#change-53309

* 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:69896] [Ruby trunk - Bug #11327] Improve duplicate key warning.
       [not found] <redmine.issue-11327.20150703193002@ruby-lang.org>
  2015-07-03 19:30 ` [ruby-core:69860] [Ruby trunk - Bug #11327] [Open] Improve duplicate key warning me
  2015-07-07 18:29 ` [ruby-core:69890] [Ruby trunk - Bug #11327] " zzak
@ 2015-07-08  1:59 ` matz
  2 siblings, 0 replies; 3+ messages in thread
From: matz @ 2015-07-08  1:59 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-08  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11327.20150703193002@ruby-lang.org>
2015-07-03 19:30 ` [ruby-core:69860] [Ruby trunk - Bug #11327] [Open] Improve duplicate key warning me
2015-07-07 18:29 ` [ruby-core:69890] [Ruby trunk - Bug #11327] " zzak
2015-07-08  1:59 ` [ruby-core:69896] " matz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).