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

Go: Add getParent and getIndex for TypeParamType #17378

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

mbg
Copy link
Member

@mbg mbg commented Sep 4, 2024

Information about the parent of a TypeParamType was already available in the database, but not exposed anywhere in QL. This PR makes the information available with new getParent and getIndex predicates.

I have also updated the TypeParamType test so that it is clearer where the type parameter types come from, which makes it easier for us to spot acceptable changes during version upgrades.

@mbg mbg self-assigned this Sep 4, 2024
@mbg mbg requested a review from a team as a code owner September 4, 2024 11:31
@github-actions github-actions bot added the Go label Sep 4, 2024
@mbg mbg added the no-change-note-required This PR does not need a change note label Sep 4, 2024
@mbg mbg merged commit cd8a5d7 into main Sep 4, 2024
13 of 14 checks passed
@mbg mbg deleted the mbg/go/improve-typeparamtype branch September 4, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants