-
Notifications
You must be signed in to change notification settings - Fork 512
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
Allow empty constructur call in expected class declaration #2425
Comments
The problem seems to be caused by the |
It's not kotlin-test expect, but KMM's https://kotlinlang.org/docs/multiplatform-expect-actual.html TL;DR roughly:
|
Tnx. That is clarifying. If you stuck for now, you can either disable the |
Yup I already disabled the rule entirely. Luckily that one had no dependencies that I needed to disable as well, so all good! |
Using 1.0.1 the following gets flagged:
with:
And the formatting removes the
()
however this causes a compilation error:e: Color.kt:35:2 This class does not have a constructor
You can use vanniktech/ui#100 to repro
The text was updated successfully, but these errors were encountered: