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

Mark 'Map.these' and 'Map.items' as unstable #21585

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

bmcdonald3
Copy link
Member

@bmcdonald3 bmcdonald3 commented Feb 13, 2023

As discussed in #14718, what we would like both Map.these() and
Map.items() to yield would be tuples of (key, value) pairs
with return intent of (const ref, ref), but, since that is not
possible today, we are marking them both as unstable until the
ability to return with the correct intent is enabled in Chapel.

  • paratest

@bmcdonald3 bmcdonald3 changed the title Switch Map.these to yield key-value pairs instead of just values Switch Map.these to yield key-value pairs instead of just keys Feb 13, 2023
@bmcdonald3 bmcdonald3 changed the title Switch Map.these to yield key-value pairs instead of just keys Mark 'Map.these' and 'Map.items' as unstable Feb 22, 2023
@bmcdonald3
Copy link
Member Author

Marking as draft until #21654 is merged and the unstable test can be put in the directory added by that PR.

@bmcdonald3 bmcdonald3 marked this pull request as draft February 22, 2023 15:58
What we would like both `Map.these()` and `Map.items()` to yield
would be tuples of `(key, value)` pairs with return intent of
`(const ref, ref)`, but, since that is not possible today, we are
marking them both as unstable until the ability to return with the
correct intent is enabled in Chapel.

Signed-off-by: Ben McDonald <46734217+bmcdonald3@users.noreply.github.com>
@bmcdonald3 bmcdonald3 marked this pull request as ready for review February 22, 2023 19:57
Signed-off-by: Ben McDonald <46734217+bmcdonald3@users.noreply.github.com>
Copy link
Member

@lydia-duncan lydia-duncan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@bmcdonald3 bmcdonald3 merged commit 12c0ad6 into chapel-lang:main Feb 22, 2023
@bmcdonald3 bmcdonald3 deleted the map-these branch February 22, 2023 20:41
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