We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Should not treat enum instance implementation as method overloading.
when every entry of an enum implement a method, it is treated as method overloading.
enum class MethodOverloading { FOO1 { override fun foo() = 1 }, FOO2 { override fun foo() = 2 }, FOO3 { override fun foo() = 3 }, FOO4 { override fun foo() = 4 }, FOO5 { override fun foo() = 5 }, FOO6 { override fun foo() = 6 }, FOO7 { override fun foo() = 7 }; abstract fun foo(): Int }
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
Sorry, something went wrong.
1538667
Successfully merging a pull request may close this issue.
Expected Behavior
Should not treat enum instance implementation as method overloading.
Observed Behavior
when every entry of an enum implement a method, it is treated as method overloading.
Steps to Reproduce
Your Environment
Thanks!
The text was updated successfully, but these errors were encountered: