Do not consider error results successful in '::' LHS resolution

Fixes EA-81649
This commit is contained in:
Alexander Udalov
2016-04-18 14:39:35 +03:00
parent be62caf335
commit 9c99152126
4 changed files with 50 additions and 1 deletions
@@ -1647,6 +1647,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("ea81649_errorPropertyLHS.kt")
public void testEa81649_errorPropertyLHS() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/ea81649_errorPropertyLHS.kt");
doTest(fileName);
}
@TestMetadata("emptyLhs.kt")
public void testEmptyLhs() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/emptyLhs.kt");