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

fix index operator for named complex types #4391

Merged
merged 1 commit into from
Feb 20, 2023
Merged

fix index operator for named complex types #4391

merged 1 commit into from
Feb 20, 2023

Conversation

mccanne
Copy link
Collaborator

@mccanne mccanne commented Feb 18, 2023

This commit fixes a bug where the index operator wasn't looking under named types for arrays, sets, maps, and records. The fix is to simply call zed.TypeUnder for the type in question.

Closes #4388

This commit fixes a bug where the index operator wasn't looking
under named types for arrays, sets, maps, and records.  The fix
is to simply call zed.TypeUnder for the type in question.

Closes #4388
@mccanne mccanne merged commit b1f6be2 into main Feb 20, 2023
@mccanne mccanne deleted the named-array-refs branch February 20, 2023 19:26
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.

Can't access element from array with named type
3 participants