Skip to content

Add tests for checking integral return types #26603

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

arezaii
Copy link
Collaborator

@arezaii arezaii commented Jan 24, 2025

This adds test cases for mixing of int and uint types in conditional branches for both dyno and prod.

A discrepancy in return types between prod and dyno was noticed in https://github.com/Cray/chapel-private/issues/6829 and determined to be a bug in prod, captured in #26991.

These tests capture the current state of prod and dyno, placing the prod tests in a future.

TESTING:

  • paratest [Summary: #Successes = 17797 | #Failures = 0 | #Futures = 906]

[reviewed by @benharsh - thanks!]

@arezaii arezaii force-pushed the dyno-int-uint-conditionals branch 2 times, most recently from 557e41e to d118884 Compare March 25, 2025 22:56
@arezaii arezaii marked this pull request as ready for review March 26, 2025 17:01
@arezaii arezaii force-pushed the dyno-int-uint-conditionals branch 2 times, most recently from 65f73f2 to b87f731 Compare April 1, 2025 00:56
@arezaii arezaii force-pushed the dyno-int-uint-conditionals branch from 42d00e7 to c20a02e Compare April 14, 2025 16:31
@arezaii arezaii force-pushed the dyno-int-uint-conditionals branch from c20a02e to 86b9d13 Compare April 14, 2025 17:55
@arezaii arezaii merged commit 8cb10d6 into chapel-lang:main Apr 14, 2025
10 checks passed
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