ensure that a JetEnumEntry is equivalent to a KotlinLightEnumConstant

#KT-5057 Fixed
This commit is contained in:
Dmitry Jemerov
2015-07-29 21:21:13 +02:00
parent 194aa57c07
commit 23dca520d5
8 changed files with 55 additions and 1 deletions
@@ -0,0 +1,5 @@
package testing
enum class E {
BAR
}
@@ -0,0 +1,5 @@
package testing;
class JavaClient {
E e = E.BAR;
}
@@ -0,0 +1,5 @@
package testing
enum class E {
FOO
}
@@ -0,0 +1,5 @@
package testing;
class JavaClient {
E e = E.FOO;
}
@@ -0,0 +1,5 @@
{
"type": "KOTLIN_CLASS",
"classId": "testing/E.FOO",
"newName": "BAR"
}