[Test] Add regression tests for issues which are fixed in K2
Related issues: KT-10879, KT-18055, KT-20617, KT-23873 KT-25668, KT-31191, KT-33108, KT-41013 KT-51827, KT-53886, KT-56624, KT-58447 KT-58458, KT-58751, KT-58814, KT-60597 KT-62806, KT-63258, KT-63444, KT-65101 KT-65408, KT-65844, KT-66186 ^KT-65926 Fixed
This commit is contained in:
committed by
Space Team
parent
b875ae774e
commit
4b5eac7816
+120
@@ -1605,6 +1605,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/Unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedNameInBackticksInReceiver.kt")
|
||||
public void testUnresolvedNameInBackticksInReceiver() {
|
||||
runTest("compiler/testData/diagnostics/tests/unresolvedNameInBackticksInReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnusedInDestructuring.kt")
|
||||
public void testUnusedInDestructuring() {
|
||||
@@ -2310,6 +2316,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OptInWithArrayArgument.kt")
|
||||
public void testOptInWithArrayArgument() {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/OptInWithArrayArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propagationAnnotationToLocalMemberFunction.kt")
|
||||
public void testPropagationAnnotationToLocalMemberFunction() {
|
||||
@@ -2400,6 +2412,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceOfAnnotatedFunctionInAnnotation.kt")
|
||||
public void testReferenceOfAnnotatedFunctionInAnnotation() {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/referenceOfAnnotatedFunctionInAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requireKotlin.kt")
|
||||
public void testRequireKotlin() {
|
||||
@@ -6364,6 +6382,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt614.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonUselessCastInLambda.kt")
|
||||
public void testNonUselessCastInLambda() {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/nonUselessCastInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingAs.kt")
|
||||
public void testNothingAs() {
|
||||
@@ -6382,6 +6406,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/cast/StableTypeForUselessCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usefulCastInGetOperator.kt")
|
||||
public void testUsefulCastInGetOperator() {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/usefulCastInGetOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UselessSafeCast.kt")
|
||||
public void testUselessSafeCast() {
|
||||
@@ -9290,6 +9320,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyInDataObject.kt")
|
||||
public void testCopyInDataObject() {
|
||||
runTest("compiler/testData/diagnostics/tests/dataClasses/copyInDataObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyOfPrivateClass.kt")
|
||||
public void testCopyOfPrivateClass() {
|
||||
@@ -13397,6 +13433,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjection.kt")
|
||||
public void testStarProjection() {
|
||||
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/starProjection.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -15933,6 +15975,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/imports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Imports {
|
||||
@Test
|
||||
@TestMetadata("aliasedImportOfEnumConstructor.kt")
|
||||
public void testAliasedImportOfEnumConstructor() {
|
||||
runTest("compiler/testData/diagnostics/tests/imports/aliasedImportOfEnumConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInImports() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
@@ -16712,6 +16760,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/inference/completionOfMultipleLambdas.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexInferenceOnParentizedExpression.kt")
|
||||
public void testComplexInferenceOnParentizedExpression() {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/complexInferenceOnParentizedExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingSubstitutions.kt")
|
||||
public void testConflictingSubstitutions() {
|
||||
@@ -20517,6 +20571,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/kt42620.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleDiagnosticsInOneCallChain.kt")
|
||||
public void testMultipleDiagnosticsInOneCallChain() {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/multipleDiagnosticsInOneCallChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoAmbiguityForDifferentFunctionTypes.kt")
|
||||
public void testNoAmbiguityForDifferentFunctionTypes() {
|
||||
@@ -21940,6 +22000,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/inner/selfAnnotationForClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedInnerType.kt")
|
||||
public void testStarProjectedInnerType() {
|
||||
runTest("compiler/testData/diagnostics/tests/inner/starProjectedInnerType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("traits.kt")
|
||||
public void testTraits() {
|
||||
@@ -24259,6 +24325,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
public void testMultipleLabels() {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/multipleLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedThisInExtensionProperty.kt")
|
||||
public void testQualifiedThisInExtensionProperty() {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/qualifiedThisInExtensionProperty.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -26368,6 +26440,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/overload/disambiguateByFailedAbstractClassCheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("disambiguateByNumberOfLambdaArgument.kt")
|
||||
public void testDisambiguateByNumberOfLambdaArgument() {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/disambiguateByNumberOfLambdaArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doubleWinsOverFloat.kt")
|
||||
public void testDoubleWinsOverFloat() {
|
||||
@@ -29984,6 +30062,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/anonymousObjectFromTopLevelMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callToProtectedOnSmartcast.kt")
|
||||
public void testCallToProtectedOnSmartcast() {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/callToProtectedOnSmartcast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceInCST.kt")
|
||||
public void testCallableReferenceInCST() {
|
||||
@@ -33618,6 +33702,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastWithOrFalse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastBetweenClassAndTypeParameter.kt")
|
||||
public void testSmartcastBetweenClassAndTypeParameter() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastBetweenClassAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastInFriendModule.kt")
|
||||
public void testSmartcastInFriendModule() {
|
||||
@@ -33654,6 +33744,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastToStarProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessorOnSmartcastedReceiver.kt")
|
||||
public void testSyntheticAccessorOnSmartcastedReceiver() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/syntheticAccessorOnSmartcastedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("thisWithLabel.kt")
|
||||
public void testThisWithLabel() {
|
||||
@@ -34977,6 +35073,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyNotNeeded.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyOfLocalClass.kt")
|
||||
public void testPropertyOfLocalClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyOfLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertySubtype.kt")
|
||||
public void testPropertySubtype() {
|
||||
@@ -39539,6 +39641,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/when/withSubjectVariable/subjectVariableInIsPattern.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unnamedSubject.kt")
|
||||
public void testUnnamedSubject() {
|
||||
runTest("compiler/testData/diagnostics/tests/when/withSubjectVariable/unnamedSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsupportedFeature.kt")
|
||||
public void testUnsupportedFeature() {
|
||||
@@ -41599,6 +41707,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/safecallAndReturnsNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastOnReceiverInComplexCondition.kt")
|
||||
public void testSmartcastOnReceiverInComplexCondition() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/smartcastOnReceiverInComplexCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throwsEffect.kt")
|
||||
public void testThrowsEffect() {
|
||||
@@ -42541,6 +42655,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/allMembersAllowed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReference.kt")
|
||||
public void testCallableReference() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/callableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensions.kt")
|
||||
public void testExtensions() {
|
||||
|
||||
+120
@@ -1605,6 +1605,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/Unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedNameInBackticksInReceiver.kt")
|
||||
public void testUnresolvedNameInBackticksInReceiver() {
|
||||
runTest("compiler/testData/diagnostics/tests/unresolvedNameInBackticksInReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnusedInDestructuring.kt")
|
||||
public void testUnusedInDestructuring() {
|
||||
@@ -2316,6 +2322,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OptInWithArrayArgument.kt")
|
||||
public void testOptInWithArrayArgument() {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/OptInWithArrayArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propagationAnnotationToLocalMemberFunction.kt")
|
||||
public void testPropagationAnnotationToLocalMemberFunction() {
|
||||
@@ -2406,6 +2418,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceOfAnnotatedFunctionInAnnotation.kt")
|
||||
public void testReferenceOfAnnotatedFunctionInAnnotation() {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/referenceOfAnnotatedFunctionInAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requireKotlin.kt")
|
||||
public void testRequireKotlin() {
|
||||
@@ -6370,6 +6388,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt614.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonUselessCastInLambda.kt")
|
||||
public void testNonUselessCastInLambda() {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/nonUselessCastInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingAs.kt")
|
||||
public void testNothingAs() {
|
||||
@@ -6388,6 +6412,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/cast/StableTypeForUselessCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usefulCastInGetOperator.kt")
|
||||
public void testUsefulCastInGetOperator() {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/usefulCastInGetOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UselessSafeCast.kt")
|
||||
public void testUselessSafeCast() {
|
||||
@@ -9296,6 +9326,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyInDataObject.kt")
|
||||
public void testCopyInDataObject() {
|
||||
runTest("compiler/testData/diagnostics/tests/dataClasses/copyInDataObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyOfPrivateClass.kt")
|
||||
public void testCopyOfPrivateClass() {
|
||||
@@ -13403,6 +13439,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjection.kt")
|
||||
public void testStarProjection() {
|
||||
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/starProjection.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -15939,6 +15981,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/imports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Imports {
|
||||
@Test
|
||||
@TestMetadata("aliasedImportOfEnumConstructor.kt")
|
||||
public void testAliasedImportOfEnumConstructor() {
|
||||
runTest("compiler/testData/diagnostics/tests/imports/aliasedImportOfEnumConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInImports() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
@@ -16718,6 +16766,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/inference/completionOfMultipleLambdas.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexInferenceOnParentizedExpression.kt")
|
||||
public void testComplexInferenceOnParentizedExpression() {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/complexInferenceOnParentizedExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingSubstitutions.kt")
|
||||
public void testConflictingSubstitutions() {
|
||||
@@ -20523,6 +20577,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/kt42620.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleDiagnosticsInOneCallChain.kt")
|
||||
public void testMultipleDiagnosticsInOneCallChain() {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/multipleDiagnosticsInOneCallChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoAmbiguityForDifferentFunctionTypes.kt")
|
||||
public void testNoAmbiguityForDifferentFunctionTypes() {
|
||||
@@ -21946,6 +22006,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/inner/selfAnnotationForClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedInnerType.kt")
|
||||
public void testStarProjectedInnerType() {
|
||||
runTest("compiler/testData/diagnostics/tests/inner/starProjectedInnerType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("traits.kt")
|
||||
public void testTraits() {
|
||||
@@ -24265,6 +24331,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
public void testMultipleLabels() {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/multipleLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedThisInExtensionProperty.kt")
|
||||
public void testQualifiedThisInExtensionProperty() {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/qualifiedThisInExtensionProperty.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -26374,6 +26446,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/overload/disambiguateByFailedAbstractClassCheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("disambiguateByNumberOfLambdaArgument.kt")
|
||||
public void testDisambiguateByNumberOfLambdaArgument() {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/disambiguateByNumberOfLambdaArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doubleWinsOverFloat.kt")
|
||||
public void testDoubleWinsOverFloat() {
|
||||
@@ -29996,6 +30074,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/anonymousObjectFromTopLevelMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callToProtectedOnSmartcast.kt")
|
||||
public void testCallToProtectedOnSmartcast() {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/callToProtectedOnSmartcast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceInCST.kt")
|
||||
public void testCallableReferenceInCST() {
|
||||
@@ -33756,6 +33840,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastWithOrFalse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastBetweenClassAndTypeParameter.kt")
|
||||
public void testSmartcastBetweenClassAndTypeParameter() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastBetweenClassAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastInFriendModule.kt")
|
||||
public void testSmartcastInFriendModule() {
|
||||
@@ -33792,6 +33882,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastToStarProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessorOnSmartcastedReceiver.kt")
|
||||
public void testSyntheticAccessorOnSmartcastedReceiver() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/syntheticAccessorOnSmartcastedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("thisWithLabel.kt")
|
||||
public void testThisWithLabel() {
|
||||
@@ -35115,6 +35211,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyNotNeeded.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyOfLocalClass.kt")
|
||||
public void testPropertyOfLocalClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyOfLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertySubtype.kt")
|
||||
public void testPropertySubtype() {
|
||||
@@ -39677,6 +39779,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/when/withSubjectVariable/subjectVariableInIsPattern.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unnamedSubject.kt")
|
||||
public void testUnnamedSubject() {
|
||||
runTest("compiler/testData/diagnostics/tests/when/withSubjectVariable/unnamedSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsupportedFeature.kt")
|
||||
public void testUnsupportedFeature() {
|
||||
@@ -41737,6 +41845,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/safecallAndReturnsNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastOnReceiverInComplexCondition.kt")
|
||||
public void testSmartcastOnReceiverInComplexCondition() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/smartcastOnReceiverInComplexCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throwsEffect.kt")
|
||||
public void testThrowsEffect() {
|
||||
@@ -42679,6 +42793,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/allMembersAllowed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReference.kt")
|
||||
public void testCallableReference() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/callableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensions.kt")
|
||||
public void testExtensions() {
|
||||
|
||||
Reference in New Issue
Block a user