Skip to content

NSSet is not correctly converted #235

@AlexanderJ

Description

@AlexanderJ

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")
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions