Skip to content

[stdlib] XFAIL RangeTraps.CountablePartialRangeFrom in resilient mode #9140

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
May 1, 2017

Conversation

airspeedswift
Copy link
Member

Here’s the test that’s failing, but is passing on other build configs:

let range = (Int.max - 1)...
var it = range.makeIterator()
_ = it.next()
expectCrashLater()
_ = it.next()

So it failing means in this build advanced(by: 1) on Int.max, which is what it.next() on a CountablePartialRangeFrom will be calling, isn’t trapping.

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test and merge

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test linux platform

@swift-ci swift-ci merged commit 8790997 into swiftlang:master May 1, 2017
@airspeedswift airspeedswift deleted the xfail-resilient-range branch May 1, 2017 01:35
@swiftix
Copy link
Contributor

swiftix commented May 1, 2017

@airspeedswift Have you filed a radar for this issue?

@aschwaighofer
Copy link
Contributor

@swiftix rdar://31909976

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.

4 participants