Add resources-en for idea
#KT-38297 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
sealed class MyEnum(val s: String = "") {
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
object FOO : MyEnum("FOO")
|
||||
object BAR : MyEnum("BAR")
|
||||
object DEFAULT : MyEnum()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
enum class MyEnum(val s: String = "") {
|
||||
FOO("FOO"), BAR("BAR"), DEFAULT();
|
||||
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts an <b>enum</b> class to a <b>sealed</b> class hierarchy with <b>enum</b> entries turned into objects.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user