solargraph icon indicating copy to clipboard operation
solargraph copied to clipboard

Fix "Not enough arguments to" false positives on kwarg type checking

Open apiology opened this issue 1 year ago • 1 comments

This valid code currently reports a false positive during typechecking:

        class Foo
          def bar(baz:, bing:)
          end
        end
        Foo.new.bar(baz: 123, bing: 456)

apiology avatar Oct 14 '24 13:10 apiology

Just let me know if you'd like any changes or additional tests, @castwide

apiology avatar Oct 16 '24 14:10 apiology

Happy to also send some (smaller) fixes for some other common issues I see with codebases, @castwide?

apiology avatar Oct 25 '24 12:10 apiology

Thanks, @apiology. The failing tests are mostly unrelated issues that already exist in master and are being resolved in #739, so I'll go ahead and merge this one.

castwide avatar Jan 15 '25 22:01 castwide