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.
Symbol
Digest::SHA2
PTY.getpty
PTY.spawn
readonly_string_p
spec.files
--with/--without