KT-18731 Use reference equality to compare enums

Fix of https://youtrack.jetbrains.com/issue/KT-18731
This commit is contained in:
Mikaël Peltier
2018-02-05 11:35:17 +01:00
committed by Dmitry Petrov
parent bc54c95bc3
commit a2a3043607
8 changed files with 81 additions and 0 deletions
@@ -9225,6 +9225,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt18731.kt")
public void testKt18731() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/enum/kt18731.kt");
doTest(fileName);
}
@TestMetadata("kt20651.kt")
public void testKt20651() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/enum/kt20651.kt");