Mistake when processing lsif dump from lsif-clang
Output dump from C++ indexer lsif-clang contains individual line per range in inVs
(lines with "label":"contains"
(and "label":"item"
) repeat few times with equal outV
). According to specification this seems to be supported.
In parser (https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/master/internal/lsif_transformer/parser/docs.go#L141) such lines override each other, so ranges got lost.
It looks possible to just append arrays instead of overriding them. If such changes are acceptable I will be happy to work on MR for fixing this.
Labels look to me like:
~feature ~"feature::maintenance" groupsource code devopscreate
Edited by Pavel Kuznetsov