mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
This commit simplifies warnings for hash keys duplication and when clause duplication, based on the discussion of https://bugs.ruby-lang.org/issues/20331. Warnings are reported only when strings are same to ohters.