fix KT-431 Prohibit safe calls on namespaces, super etc
#KT-431 Fixed
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user