Mismatched variable type
Reports instance and class variable assignments whose inferred types don't match the variable's expected type. The expected variable 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