Inspectopedia Help

Mismatched global variable type

Reports global variable assignments whose inferred types don't match the global variable'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