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

Support vectors as indices to NamedTuple #32662

Closed
cmcaine opened this issue Jul 23, 2019 · 1 comment · May be fixed by #32664
Closed

Support vectors as indices to NamedTuple #32662

cmcaine opened this issue Jul 23, 2019 · 1 comment · May be fixed by #32664

Comments

@cmcaine
Copy link
Contributor

cmcaine commented Jul 23, 2019

# Works
(π, -1, 'a')[2:3] == (-1, 'a')

# Doesn't work
(x=π, y=-1, z='a')[2:3] == (-1, 'a')

Seems inconsistent.

cmcaine added a commit to cmcaine/julia that referenced this issue Jul 24, 2019
cmcaine added a commit to cmcaine/julia that referenced this issue Jul 24, 2019
@vtjnash
Copy link
Member

vtjnash commented Jul 25, 2019

Dup #27021

cmcaine added a commit to cmcaine/julia that referenced this issue Jul 27, 2019
cmcaine added a commit to cmcaine/julia that referenced this issue Jul 27, 2019
cmcaine added a commit to cmcaine/julia that referenced this issue Aug 2, 2019
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 a pull request may close this issue.

3 participants