Skip to content

Conversation

@skyline75489
Copy link
Contributor

This succeeds #1043 which was merged and later reverted. This PR has more love for Linux.

Turns out on Linux Swift.Bool can not be converted to Foundation.NSNumber. On Darwin the conversion works fine. That's why the tests failed on Linux.

For the test cases, en_UK isn't really a valid locale identifier. For en_UK libicu actually returns a fallback value for measurement system(UMS_SI) instead of UMS_UK. To prevent further confusion I'd say en_GB is a better option.

@skyline75489
Copy link
Contributor Author

CC @jszumski @alblue @saiHemak

@skyline75489
Copy link
Contributor Author

Also, is it expected that Swift.Bool can not be converted to Foundation.NSNumber on Linux? I think it seems to make sense for this conversion to work as on Darwin.

@alblue
Copy link
Contributor

alblue commented Jun 27, 2017

@swift-ci please test

@phausler phausler merged commit a997167 into swiftlang:master Jun 27, 2017
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.

3 participants