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