Inspectopedia Help

Mismatched parameter type

Reports default method and block parameter assignments whose inferred types don't match the parameter's expected type. The expected parameter type is taken from the RBS type signature.

Inspection options

Option

Type

Default

Check nilability

Checkbox

true

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

Ruby, 233.SNAPSHOT

Last modified: 13 July 2023