fix KT-431 Prohibit safe calls on namespaces, super etc

#KT-431 Fixed
This commit is contained in:
Michael Nedzelsky
2015-10-02 09:33:39 +03:00
parent 5848ea8d77
commit 483110332c
11 changed files with 83 additions and 13 deletions
@@ -487,6 +487,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("SafeCallOnSuperReceiver.kt")
public void testSafeCallOnSuperReceiver() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/SafeCallOnSuperReceiver.kt");
doTest(fileName);
}
@TestMetadata("SelfTypesUnsupported.kt")
public void testSelfTypesUnsupported() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/SelfTypesUnsupported.kt");