KT-8861 Package name vs property with wrong receiver

#KT-8861 Fixed
This commit is contained in:
Stanislav Erokhin
2015-08-25 17:29:03 +03:00
parent 0883bfa615
commit abb18b7bb9
4 changed files with 42 additions and 1 deletions
@@ -11637,6 +11637,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("wrongReceiver.kt")
public void testWrongReceiver() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/wrongReceiver.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/diagnostics/tests/resolve/invoke")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)