SwiftInitializerGenerator icon indicating copy to clipboard operation
SwiftInitializerGenerator copied to clipboard

Doesn't work using some code density

Open Maxatma opened this issue 7 years ago • 1 comments

For struct using code density:

public struct Advert: Codable {
    public let location: Location
    public let imageId, unitId, name: String

}

it gonna create initializer like this:

public init(location: Location, imageId, unitId, name: String,

which is not legal.

Maxatma avatar Feb 08 '19 13:02 Maxatma

The format is not supported, as per "Known limitations" in the readme. I'm willing to accept a PR that adds this though!

Bouke avatar Jul 07 '19 07:07 Bouke