Rails rubymine yard model concerns6/2/2023 The inspection checks if there are any mismatches. If there are several partial declarations of a class or a module, then their type variables must match in variance ( in, out, or unchecked) between the declarations. It reports type variables used as arguments in locations that their variance does not allow, so long as they are not marked as unchecked.Ĭonflicting type variable variance. This inspection works similarly to the rbs validate command for the “Incorrect variance” errors. This build adds several new inspections which check the usage of type variables in RBS. For example, this build adds support for nameless wildcards ( * and **): RUBY-29131. Some small updates for one-line pattern matching, which is no longer experimental in Ruby 3.1.Support for resolve logic for RBS superclasses, which has been updated to make it consistent with Ruby: RUBY-29164. ![]()
0 Comments
Leave a Reply. |