-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSIF generation can't be interpreted by 0.6.0 validators #63840
Comments
@NTaylorMullen Does the moniker uniqueness replace the older MonikerKind? Or do I still need both? |
Was this just a rename (effectively) or is there some other newer concept that a 'shard' is invoking here? |
@dbaeumer am I wrong? |
Was a naming change! And after looking through the docs, it looks like everywhere where |
No, kind in used to denote if the symbol is import or exported |
As far as uniqueness then I think all the monitors we have been generating are at least unique under this:
We create two kinds of monikers with two schemes for historical reasons:
But either of those are unique from the perspective of the .NET type system -- you can't have a project with a duplicate (or at least not in any meaningful way.)
@dbaeumer Would that be 'global' or 'scheme' unique? I'd assume there'd be a npm 'scheme' that its' unique under? |
@jasonmalinowski thanks for asking that since my last answer was indeed misleading. For npm package we have an |
@dbaeumer Thanks for confirming, and I think after I made my comment I saw the other description in the LSIF spec that clarified. |
Version Used:
4.4.0-1.22372.4
Description:
When LSIF moved to 0.6.0 they introduced a few breaking changes in order to ease the storability of the LSIF format. These breaking changes end up hindering validators from understanding C# output. Some of those breaking changes are:
moniker
nodes should have aunique
property that specifies its UniquenessLevel.document
property was referencing anid
of the document containing it got renamed toshard
.project
nodes should have aname
property on them to indicate what the project name isSteps to Reproduce:
The text was updated successfully, but these errors were encountered: