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

For now, don't mark standard module iters as throws #7135

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

mppf
Copy link
Member

@mppf mppf commented Aug 27, 2017

Issue #7134 indicates that throwing iterators don't currently work unless they are inlined. That means that any iterator that is used in tests in --baseline testing can't be marked throws without
causing errors in that configuration.

To quiet testing, this PR simply makes the two throwing iter functions in the standard modules no longer throw. Instead, these functions use try! to halt if any error was encountered. This is
intended to be a temporary change.

  • full --baseline testing
  • full local testing

Reviewed by @psahabu - thanks!

Issue chapel-lang#7134 indicates that throwing iterators don't currently
work unless they are inlined. That means that any iterator that is
used in tests in --baseline testing can't be marked throws without
causing errors in that configuration.

To quiet testing, this PR simply makes the two iter functions in
the standard modules that throw currently not throwing. Instead, these
functions use try! to halt if any error was encountered. This is
intended to be a temporary change.
@mppf mppf requested a review from psahabu August 27, 2017 01:56
Copy link

@psahabu psahabu 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 to me.

@mppf mppf merged commit ab83485 into chapel-lang:master Aug 27, 2017
@mppf mppf deleted the fix-baseline branch August 27, 2017 02:58
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

2 participants