We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Linux Ubuntu 16.04, swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a-ubuntu16.04
md5: 558a338d055bf0172d7177fc7f763e73
duplicates:
Issue Description:
The following program prints "false" on ubuntu16.04 running in a docker image, but prints "true" on MacOS:
import Foundation let separators = CharacterSet.punctuationCharacters.union(.whitespaces) print(separators.contains(" "))
The text was updated successfully, but these errors were encountered:
Comment by Ted Goddard (JIRA)
Tested on latest release and bug is still present: Swift version 3.1 (swift-3.1-RELEASE) Target: x86_64-unknown-linux-gnu
Sorry, something went wrong.
Comment by Ryan Collins (JIRA)
Present on 4.0.3 as well
Looks like this was fixed in 4.1
$ cat sr_3825.swift import Foundation let separators = CharacterSet.punctuationCharacters.union(.whitespaces) print(separators.contains(" ")) $ ~/swift-4.1-RELEASE-ubuntu16.04/usr/bin/swift sr_3825.swift true
No branches or pull requests
Environment
Linux Ubuntu 16.04, swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a-ubuntu16.04
Additional Detail from JIRA
md5: 558a338d055bf0172d7177fc7f763e73
duplicates:
Issue Description:
The following program prints "false" on ubuntu16.04 running in a docker image, but prints "true" on MacOS:
import Foundation
let separators = CharacterSet.punctuationCharacters.union(.whitespaces)
print(separators.contains(" "))
The text was updated successfully, but these errors were encountered: