Vince Broz
Vince Broz
Use Pin::LocalVariable#combine_with to merge information from multiple assignments to the same local variable that may be visible from a given location, offering a single pin with consolidated information with ApiMap#var_at_location....
Includes to be able to build: * https://github.com/castwide/solargraph/pull/1120 --- Suggested updates for https://solargraph.org/guides/configuration: 1) Change block in Defaults section to: ``` include: - "**/*.rb" exclude: - spec/**/* - test/**/* -...
I found this in another branch while improving typechecking. I'm not aware of any practical impact from the bug. Includes for a working build: * https://github.com/castwide/solargraph/pull/1120
The master branch build is failing - looks like some outside things changed which revealed a latent bug around misuse of the Hash#merge method Includes for debugging to track this...
Cases now at least partially handled: * `if foo.nil?` * `if foo` * `unless foo.nil? || foo` * `if unrelated && foo` * `break if foo.nil?` * `return foo unless...
This was replaced by yard_map/mapper/to_method.rb Includes for buildability: * https://github.com/castwide/solargraph/pull/1120
I'm leaving this hidden until I'm a little happier with the arguments and juggling different types of pins, but this seemed useful for developers and debugging user issues: ``` $...
This PR has been broken into the following parts: * https://github.com/castwide/solargraph/issues/1042 * https://github.com/castwide/solargraph/pull/1059 * https://github.com/castwide/solargraph/pull/1057 * https://github.com/castwide/solargraph/pull/1060 * #1061 * #1067 * #1064 * https://github.com/castwide/solargraph/pull/1112 * https://github.com/castwide/solargraph/pull/1113 I'll keep this...
I found this while starting the LSP on a project without cached pins, and doing a hover-over. I'm guessing it's associated with these, but sadly no timestamp output to stderr:...
There are a lot of files changed here, but the vast majority are added specs and fixed annotations, most from the improvements in this PR. This is a rewrite of...