KT-3919 Automatic labeling of lambdas by receiving functions
#KT-3919 Fixed
This commit is contained in:
@@ -2432,6 +2432,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("AutoLabels.kt")
|
||||
public void testAutoLabels() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/functionLiterals/return/AutoLabels.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForbiddenNonLocalReturnNoType.kt")
|
||||
public void testForbiddenNonLocalReturnNoType() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/functionLiterals/return/ForbiddenNonLocalReturnNoType.kt");
|
||||
|
||||
@@ -1204,6 +1204,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/closures/localReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localReturnWithAutolabel.kt")
|
||||
public void testLocalReturnWithAutolabel() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveClosure.kt")
|
||||
public void testRecursiveClosure() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/closures/recursiveClosure.kt");
|
||||
|
||||
Reference in New Issue
Block a user