Fix 'equals' for NotNullBasicValue

NotNullBasicValues were merged incorrectly sometimes,
which caused problems with INSTANCEOF checks.

 #KT-18779 Fixed
This commit is contained in:
Dmitry Petrov
2017-07-03 14:08:15 +03:00
parent 8121c1d3c4
commit 16505daeea
6 changed files with 44 additions and 1 deletions
@@ -19895,6 +19895,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt18779.kt")
public void testKt18779() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt18779.kt");
doTest(fileName);
}
@TestMetadata("kt1932.kt")
public void testKt1932() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt1932.kt");