Skip to content

[AST] Do not limit the number of results from FindGlobalVariables#20

Merged
kuilpd merged 1 commit intodil-mainfrom
DIL-ast-find-variables-unlimited
Feb 27, 2025
Merged

[AST] Do not limit the number of results from FindGlobalVariables#20
kuilpd merged 1 commit intodil-mainfrom
DIL-ast-find-variables-unlimited

Conversation

@kuilpd
Copy link
Copy Markdown
Collaborator

@kuilpd kuilpd commented Feb 12, 2025

LookupStaticIdentifier expects FindGlobalVariables to return all variables with the same basename, and then checks which of them is in the correct namespace. Returning only the first found one might not be the one needed.

@kuilpd kuilpd requested a review from cmtice February 12, 2025 18:37
@kuilpd
Copy link
Copy Markdown
Collaborator Author

kuilpd commented Feb 12, 2025

LookupStaticIdentifier expects FindGlobalVariables to return all variables with the same basename, and then checks which of them is in the correct namespace. Returning only the first found one might not be the one needed.

@kuilpd kuilpd merged commit 2398045 into dil-main Feb 27, 2025
3 checks passed
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