You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KtLint produces the following Kotlin class where the default class level constructor is removed which breaks the overloaded constructors ability to call this()
Expected Behavior
KtLint should retain the top level constructor
()
when an overloaded constructor exists and callsthis()
Observed Behavior
KtLint removes the default empty class level constructor when a secondary overloaded constructor exists.
Steps to Reproduce
Given:
KtLint produces the following Kotlin class where the default class level constructor is removed which breaks the overloaded constructors ability to call
this()
Your Environment
.editorconfig
settings: I'm able to reproduce with an empty editor config.The text was updated successfully, but these errors were encountered: