[NI] Support implicit invoke calls on parenthesized receivers
This commit is contained in:
@@ -20989,6 +20989,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitInvokeOnSuper.kt")
|
||||
public void testImplicitInvokeOnSuper() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("notAccessibleSuperInTrait.kt")
|
||||
public void testNotAccessibleSuperInTrait() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/thisAndSuper/notAccessibleSuperInTrait.kt");
|
||||
|
||||
Generated
+6
@@ -20989,6 +20989,12 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitInvokeOnSuper.kt")
|
||||
public void testImplicitInvokeOnSuper() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("notAccessibleSuperInTrait.kt")
|
||||
public void testNotAccessibleSuperInTrait() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/thisAndSuper/notAccessibleSuperInTrait.kt");
|
||||
|
||||
+6
@@ -3274,6 +3274,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectAsLastExpressionInLambda.kt")
|
||||
public void testAnonymousObjectAsLastExpressionInLambda() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("captureExtensionReceiver.kt")
|
||||
public void testCaptureExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt");
|
||||
|
||||
+6
@@ -3274,6 +3274,12 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectAsLastExpressionInLambda.kt")
|
||||
public void testAnonymousObjectAsLastExpressionInLambda() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("captureExtensionReceiver.kt")
|
||||
public void testCaptureExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt");
|
||||
|
||||
Reference in New Issue
Block a user