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

Fix empty parentheses for no-arg enum entry #2470

Merged
merged 4 commits into from Apr 27, 2022

Conversation

IgnatBeresnev
Copy link
Member

Fixes #2355

For class

enum class EnumClass(param: String = "Default") {
    EMPTY,
    WITH_ARG("arg")
}

Before

After

@IgnatBeresnev IgnatBeresnev merged commit 2aabdea into master Apr 27, 2022
@IgnatBeresnev IgnatBeresnev deleted the 2355-fix-empty-parentheses branch April 27, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty parentheses in signatures are redundant for enum entries
2 participants