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

[SR-5160] NSMutableCharacterSet cannot be coerced to CharacterSet under Linux #4088

Closed
swift-ci opened this issue Jun 8, 2017 · 0 comments
Closed

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Jun 8, 2017

Previous ID SR-5160
Radar None
Original Reporter andybest (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

Ubuntu 16.04

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 6493180a2e8362d392e735c4b76f5343

duplicates:

  • SR-138 Foundation objects are not bridged on Linux as they are on OS X.

Issue Description:

I am unable to coerce an NSMutableCharacterSet to a regular CharacterSet under Linux (Ubuntu 16.04) using the latest Swift 4.0 build (Swift version 4.0-dev (LLVM 02fd647e50, Clang 7b75a5d546, Swift 88baa17be3)

The following code works under OS X:

import Foundation

let cs = NSMutableCharacterSet()
print(cs as CharacterSet)
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant