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

Initialization appears outside of struct for some reason #19

Open
o-zaporozhchenko opened this issue Jan 30, 2019 · 1 comment
Open
Labels

Comments

@o-zaporozhchenko
Copy link


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.

@Bouke
Copy link
Owner

Bouke commented Jul 7, 2019

It could be due to your selection; are you selecting only this part? (> < denote the start and end of the selection):

        >public var count: Int!
	public var tag: String!<

@Bouke Bouke added the question label Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants