Handle empty arrays in jumpToOrigin #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-jump-to-origin-empty-arrays"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes
jumpToOriginto graciously handle empty arrays returned fromtextDocument/definitionand friends. Originially the function crashed withTypeError: can't access property "uri", loc is undefined.I was somehow not subscribed to this repository, and didn't see this PR. Sorry about the slowness. Merged as
d640c15Pull request closed