Inspectopedia Help

Duplicate key in hash

Reports duplicate keys in hashes, method definitions, and calls. Duplicate hash keys (except for the last one) are silently ignored at runtime and are often a sign of a typo or bug.

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

Ruby, 233.SNAPSHOT

Last modified: 13 July 2023