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

Closes #1514: Remove trailing comma from 1 tuples in array creation message #1513

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

bmcdonald3
Copy link
Contributor

@bmcdonald3 bmcdonald3 commented Jun 15, 2022

In chapel-lang/chapel#19713, trailing commas
were added to 1 tuples and array creation was splitting on commas,
which caused a problem with the new comma. This PR removes the trailing
comma in the case of a 1-tuple for array creation.

Closes #1514

In chapel-lang/chapel#19713, trailing commas
were added to 1 tuples and array creation was splitting on commas,
which caused a problem with the new comma. This PR removes the trailing
comma in the case of a 1-tuple for array creation.
@stress-tess stress-tess changed the title Remove trailing comma from 1 tuples in array creation message Closes #1514: Remove trailing comma from 1 tuples in array creation message Jun 15, 2022
@mhmerrill mhmerrill self-requested a review June 15, 2022 18:23
Copy link
Contributor

@mhmerrill mhmerrill left a comment

Choose a reason for hiding this comment

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

looks ok to me. i always get confused because Chapel uses (10,) to disambiguate between 1-tuple and other things.

@mhmerrill mhmerrill merged commit c07ba2e into Bears-R-Us:master Jun 15, 2022
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.

Make Arkouda compatible with Chapel main trailing commas
3 participants