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
If you include a module into a class, you can access that module’s relative constants from your class. However, RubyLSP does not seem to detect this pattern. In the example below, from Baz, Foo::Bar is predicted but Bar is not.
moduleFooBar=1endclassBazincludeFooFoo::Bar# <- this is predictedBar# <- this is not predicated even though it’s availableend
The text was updated successfully, but these errors were encountered:
If you include a module into a class, you can access that module’s relative constants from your class. However, RubyLSP does not seem to detect this pattern. In the example below, from
Baz
,Foo::Bar
is predicted butBar
is not.The text was updated successfully, but these errors were encountered: