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 chplSerializer formatting for domains and ranges #24145

Merged
merged 1 commit into from Jan 4, 2024

Conversation

benharsh
Copy link
Member

@benharsh benharsh commented Jan 4, 2024

This PR fixes a bug in chplSerializer and chplDeserializer where domains and ranges were being formatted incorrectly. Prior to this PR, domains were printed as lists and ranges as strings. For example:

["1..10", "1..10"]

After this PR, such a domain would be printed as though it were a Chapel domain literal:

{1..10, 1..10}

Testing:

  • full local
  • gasnet

Signed-off-by: Ben Harshbarger <ben.harshb@gmail.com>
@benharsh benharsh merged commit 0005d08 into chapel-lang:main Jan 4, 2024
7 checks passed
@bradcray
Copy link
Member

bradcray commented Jan 5, 2024

Thanks for the quick turn on this, Ben!

@benharsh benharsh deleted the fix-ht-domains branch April 9, 2024 06:09
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.

None yet

3 participants