Inspectopedia Help

Duplicate keyword parameter

Reports duplicate keyword parameters in methods, blocks, and proc types. Only the first declaration of each keyword parameter is recognized; all other declarations are ignored.


class Example # Duplicate keyword parameter def call: (keyword: untyped, keyword: untyped) -> untyped end

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3


Ruby, 233.SNAPSHOT

Last modified: 13 July 2023