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

Code action to convert sealed class hierarchy to enum #222

Open
tgodzik opened this issue Aug 5, 2021 · 0 comments
Open

Code action to convert sealed class hierarchy to enum #222

tgodzik opened this issue Aug 5, 2021 · 0 comments

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Aug 5, 2021

Is your feature request related to a problem? Please describe.
In Scala 3 in places where you would normally use sealed case classe hierachy, you can instead use enum, which is a more idiomatic approach.

Describe the solution you'd like
Refactor code action to implement it.

Describe alternatives you've considered
Doing it manually.

Search terms:
enum sealed trait case class

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

No branches or pull requests

1 participant