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

Adam/ada identifier fixes #992

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Adam/ada identifier fixes #992

merged 2 commits into from
Aug 22, 2023

Conversation

adamkarvonen
Copy link
Contributor

When running the ada ingestion with run_analysis.py, there were errors due to identifier collisions where two things got assigned to the same identifier. This happened in get_node_identifier, when xref_ = node.p_gnat_xref() returned None for some identifiers, and the fallback value of node.p_relative_name.p_canonical_text was not unique. Returning node.doc_name produces the correct results and eliminates cardinality errors.

In addition, I added the definedIn_Identifier for componentType_Identifier Module.

@adamkarvonen adamkarvonen self-assigned this Aug 16, 2023
@adamkarvonen adamkarvonen merged commit d2b006e into master Aug 22, 2023
@adamkarvonen adamkarvonen deleted the adam/ada-identifier-fixes branch August 22, 2023 19:04
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.

None yet

2 participants