Skip to content

Conversation

@varungandhi-src
Copy link
Contributor

@varungandhi-src varungandhi-src commented Aug 3, 2022

It is not fully correct yet, because in some cases we emit
the SymbolInfo.documentation with wrong type information, and
subsequently add override_documentation with the right type
information.

For such situations, we should overwrite the original docs
instead or not emit it in the first place.

I will fix that in a subsequent PR. #51

Motivation

Fixes a crash while indexing Homebrew/brew.

Test plan

See included automated tests.

It is not fully correct yet, because in some cases we emit
the SymbolInfo.documentation with wrong type information, and
subsequently add override_documentation with the right type
information.

For such situations, we should overwrite the original docs
instead or not emit it in the first place.

I will fix that in a subsequent PR.
@varungandhi-src varungandhi-src merged commit 45ec4f6 into scip-ruby/master Aug 3, 2022
@varungandhi-src varungandhi-src deleted the vg/override-docs branch August 3, 2022 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants