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 futures for tuples of classes, add future for param folding of if expression #15541

Merged

Conversation

dlongnecke-cray
Copy link
Contributor

Several futures filed for #15394 failed due to incorrect folding of a param if expression which resulted in a compiler error. This PR adjusts the tests filed by #15394 to sidestep the if expression by making use of a function overload with a where clause. All tests in test/types/tuple/types now pass.

Copy link
Member

@ben-albrecht ben-albrecht left a comment

Choose a reason for hiding this comment

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

Nice catch @dlongnecke-cray ! Changes LGTM.

Would you mind filing an issue for the param folding bug (assuming one doesn't exist) to go along with your future?

@dlongnecke-cray
Copy link
Contributor Author

Sure thing.

@dlongnecke-cray dlongnecke-cray merged commit 505d74c into chapel-lang:master Apr 17, 2020
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