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
This code:
private enum Planet: Equatable { case mercury, venus, earth case mars, jupiter, saturn, uranus, neptune }
Should be transpiled to:
private enum class Planet { mercury, venus, earth, mars, jupiter, saturn, uranus, neptune } ``` But it is currently: ``` private enum class Planet (val rawValue: Equatable) { mercury(0), venus(1), earth(2), mars(3), jupiter(4), saturn(5), uranus(6), neptune(7); companion object { operator fun invoke(rawValue: Equatable) = Planet.values().firstOrNull { it.rawValue == rawValue } } } ```
The text was updated successfully, but these errors were encountered:
#108 Fixed equatable enums
62d9ed7
Fixed with #109
Sorry, something went wrong.
No branches or pull requests
This code:
Should be transpiled to:
The text was updated successfully, but these errors were encountered: