You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stubs comes from Mocha, which is not a dependency of ruby-lsp. So if the addon doesn't use Mocha but sets stub_no_typechecker to true, this line will cause NoMethodError:
NoMethodError:
undefined method `stubs' for an instance of RubyLsp::GlobalState
The text was updated successfully, but these errors were encountered:
st0012
added
bug
Something isn't working
addons
Tasks related to Ruby LSP addons
server
This pull request should be included in the server gem's release notes
labels
Jun 15, 2024
Description
stubs
comes fromMocha
, which is not a dependency ofruby-lsp
. So if the addon doesn't useMocha
but setsstub_no_typechecker
totrue
, this line will causeNoMethodError
:The text was updated successfully, but these errors were encountered: