Skip to content

Initialization appears outside of struct for some reason #19

@o-zaporozhchenko

Description

@o-zaporozhchenko

public struct Some: Codable {
	public var count: Int!
	public var tag: String!
}

    public init(count: Int!, tag: String!) {
        self.count = count
        self.tag = tag
    }

As i understand, it should be like on animation, created inside struct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions