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

NSSet is not correctly converted #235

Open
AlexanderJ opened this issue Aug 16, 2022 · 1 comment
Open

NSSet is not correctly converted #235

AlexanderJ opened this issue Aug 16, 2022 · 1 comment

Comments

@AlexanderJ
Copy link

If I convert code with NSSet, it is not correctly translated to Swift Set. See example:
https://swiftify.me/uphuxa

I would expect something more in line with:

 func test() -> Bool {
        var test = Set<String>()
        test.insert("test")
        return test.contains("test")
 }
@alex-swiftify
Copy link
Member

@AlexanderJ Acknowledged.
Precise translation of NSSet methods hasn't been covered yet, according to https://swiftify.atlassian.net/browse/SWC-128.
We will line this up.

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

No branches or pull requests

2 participants