Add tests for obsolete issues

#KT-38804 Obsolete
 #KT-38801 Obsolete
 #KT-38835 Obsolete
 #KT-38737 Obsolete
 #KT-38664 Obsolete
 #KT-38549 Obsolete
 #KT-38766 Obsolete
 #KT-38714 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2020-08-11 10:11:47 +03:00
parent 7f4df19dd1
commit 2e131b870a
30 changed files with 503 additions and 0 deletions
@@ -6211,6 +6211,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
}
@TestMetadata("kt38714.kt")
public void testKt38714() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt");
}
@TestMetadata("localDelegatedProperty.kt")
public void testLocalDelegatedProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/localDelegatedProperty.kt");
@@ -11922,6 +11927,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37650.kt");
}
@TestMetadata("kt38549.kt")
public void testKt38549() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38549.kt");
}
@TestMetadata("kt38691.kt")
public void testKt38691() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38691.kt");
@@ -21650,6 +21660,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnIf.kt");
}
@TestMetadata("smartCastOnLastExpressionOfLambdaAfterNothing.kt")
public void testSmartCastOnLastExpressionOfLambdaAfterNothing() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnLastExpressionOfLambdaAfterNothing.kt");
}
@TestMetadata("smartCastOnWhen.kt")
public void testSmartCastOnWhen() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnWhen.kt");
@@ -2058,6 +2058,11 @@ public class FirOldFrontendDiagnosticsTestWithStdlibGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38667.kt");
}
@TestMetadata("kt38766.kt")
public void testKt38766() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38766.kt");
}
@TestMetadata("nestedLambdaInferenceWithListMap.kt")
public void testNestedLambdaInferenceWithListMap() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/nestedLambdaInferenceWithListMap.kt");
@@ -2925,6 +2930,16 @@ public class FirOldFrontendDiagnosticsTestWithStdlibGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt");
}
@TestMetadata("kt38737.kt")
public void testKt38737() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38737.kt");
}
@TestMetadata("kt38801.kt")
public void testKt38801() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38801.kt");
}
@TestMetadata("kt4975.kt")
public void testKt4975() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt4975.kt");