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

Explicit propertry types doesn't handle instance properties #1959

Open
iliaskarim opened this issue Jan 8, 2025 · 1 comment
Open

Explicit propertry types doesn't handle instance properties #1959

iliaskarim opened this issue Jan 8, 2025 · 1 comment

Comments

@iliaskarim
Copy link

--propertytypes explicit does not correct this:

var view: UIView {
  UIView() // should be .init()
}

tested version 0.55.4

@nicklockwood
Copy link
Owner

I think this is not supposed to be handled currently because it's a computed property. It's a reasonable enhancement to make though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants