KT-6774 Cannot find equals() when comparing with null

#KT-6774 Fixed
This commit is contained in:
Andrey Breslav
2015-02-13 19:41:36 +01:00
parent 99b049af20
commit c61a29d4f5
4 changed files with 52 additions and 3 deletions
@@ -1950,6 +1950,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("commonSupertypeOfT.kt")
public void testCommonSupertypeOfT() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/commonSupertypeOfT.kt");
doTest(fileName);
}
@TestMetadata("emptyIf.kt")
public void testEmptyIf() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/emptyIf.kt");