Skip to content
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

Improve mapping compilation results to file URIs #306

Open
simerplaha opened this issue Oct 1, 2024 · 0 comments
Open

Improve mapping compilation results to file URIs #306

simerplaha opened this issue Oct 1, 2024 · 0 comments

Comments

@simerplaha
Copy link
Member

simerplaha commented Oct 1, 2024

Previously, Ast.GlobalDefinition did not contain a SourceIndex, so compilation results were mapped back to their respective file URIs based on the assumption that all type definitions have unique identifiers.

Now, Ast.GlobalDefinition's SourceIndex.fileURI can be used. This fileURI is still an optional type, so reporting compilation should fallback to using the above assumption when fileURI is None.

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

No branches or pull requests

1 participant