diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/objectProperties.kt b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/objectProperties.kt index 4318fbced07b..a8ffd594f974 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/objectProperties.kt +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/testData/checker/objectProperties.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB package test import kotlinx.parcelize.* diff --git a/plugins/kotlin/idea/tests/testData/inspections/dfa/DestructuringInLoop.kt b/plugins/kotlin/idea/tests/testData/inspections/dfa/DestructuringInLoop.kt index 1688bf15e6cc..57d6b8afec23 100644 --- a/plugins/kotlin/idea/tests/testData/inspections/dfa/DestructuringInLoop.kt +++ b/plugins/kotlin/idea/tests/testData/inspections/dfa/DestructuringInLoop.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB fun part1(input: List): Int { var hp = 0 var d = 0 diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt index b0c6789daf02..d942b0a90d69 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt.after index be6c7c23d708..c5e33160c5f7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/derivedClassUsage.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryAnnotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryAnnotation.kt index ad6712f49035..aaa940f3e342 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryAnnotation.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryArraySet.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryArraySet.kt index a6c8c65cc9e0..a918cd9e1528 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryArraySet.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryArraySet.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassInstanceDeclaration.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassInstanceDeclaration.kt index 244874d556c6..e7a35bf5ad95 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassInstanceDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassInstanceDeclaration.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassTwoMarkers.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassTwoMarkers.kt index 796a963d6854..3a8dc3155f5e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassTwoMarkers.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryClassTwoMarkers.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClass.kt index 07ba33c860df..1e4e4c4ba9df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClass.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClassParentMethod.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClassParentMethod.kt index a33634bfa78a..b694b1eba9c5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClassParentMethod.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryDerivedClassParentMethod.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryFqAnnotation.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryFqAnnotation.kt index 9e7271249384..aba9699bd43e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryFqAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryFqAnnotation.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryImportAlias.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryImportAlias.kt index 1e01ddafd47f..c69e1cecd8da 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryImportAlias.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryImportAlias.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn import kotlin.OptIn as Consent diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineFunction.kt index 64ab9f61f884..b01f6e81356e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineFunction.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineReifiedFunction.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineReifiedFunction.kt index bfac9fec398e..426cee99969e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineReifiedFunction.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryInlineReifiedFunction.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverride.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverride.kt index 07ba33c860df..1e4e4c4ba9df 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverride.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverride.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideInterface.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideInterface.kt index 0663d8ec4718..ea6385339bca 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideInterface.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideInterface.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty1.kt index 73b888ca5263..d4b369f85e0e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty2.kt index 5b0df98328b7..a73a78418858 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideProperty2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideWithSuper.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideWithSuper.kt index 1f561307ac35..6de563912ab4 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideWithSuper.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryOverrideWithSuper.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty1.kt index 673e609b367d..3b75d716c1e0 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty2.kt index 349211e8b95b..d820c7e95569 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryProperty2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter1.kt index f0bca83c4b52..1382b0d75207 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter2.kt index 14b6febcda8e..1c77c87f1362 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter3.kt index 048e6f56fca8..8478d2957a6b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter4.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter4.kt index 9a5d029e7641..1227b1ff6846 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter4.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter4.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter5.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter5.kt index 72ae71423629..30d56dfac868 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter5.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter5.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter6.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter6.kt index a32ddfc64d78..433573eb8fd9 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter6.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter6.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter7.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter7.kt index 499672957d11..0c61edfa3319 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter7.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter7.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter8.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter8.kt index 74d8c828cb73..903d1f5a406b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter8.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter8.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter9.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter9.kt index 09f7d9604ec8..72a3c10e6018 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter9.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryPropertySetter9.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias1.kt index 0945f320553b..6e40e4c9573f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias2.kt index 66a11b8b59bc..c5b1abe29fb5 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias3.kt index cea64ade7711..d09760559437 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryTypeAlias3.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryValueParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryValueParameter.kt index 6830e692d662..67e018efbec7 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryValueParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryValueParameter.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryWasExperimental.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryWasExperimental.kt index 79acb3b7622a..e061b5e3be47 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryWasExperimental.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/necessaryWasExperimental.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.5 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn // PROBLEM: none diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument1.kt index df9315d65da0..e19cb53f73fc 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument2.kt index 5dd931b61d7e..625aa074933e 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionArgument2.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionBlockBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionBlockBody.kt index fcf0b317eb29..0d71fb53bc66 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionBlockBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionBlockBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionExpressionBody.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionExpressionBody.kt index 889a07593193..54fb8e8d5099 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionExpressionBody.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionResult.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionResult.kt index f2a373302cfd..b331c6746be8 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionResult.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryFunctionResult.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryTemplateParameter1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryTemplateParameter1.kt index 6fe40ddc6605..ba7fb30ba7c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryTemplateParameter1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/nesessaryTemplateParameter1.kt @@ -1,5 +1,5 @@ // PROBLEM: none -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt index 6da34070a068..a6badcd629b3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt.after index 74d68e91fd32..f798b236d30b 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt index d6334958bf0d..9a1c83894857 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt.after index ff3eb53d13fb..019383cbdf7a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantClassTwoMarkersBothUseless.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt index 55b4f784cc16..c63cd72ae06a 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn import kotlin.OptIn as Consent diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt.after index 8ad20e166142..a8ffd5cee372 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantImportAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn import kotlin.OptIn as Consent diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt index f7412c2523eb..103848075481 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt.after index 4c70062e1377..934551a5b318 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantProperty.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt index 55591c82a214..ad09875b266f 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt.after index f0cb2bcfb490..6f50e748f301 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantPropertyGetter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt index ecec9210813b..968e52cb2519 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt.after index b5b77b77ba89..5186a91b2052 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantValueParameter.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt index 5b3afa757d91..f47c536ea42c 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt.after index d162ccff73de..81f3d1b5a251 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental1.kt.after @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt index e7b25836ffda..615a07c7b90d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt.after index c2041009d4b6..bd9a9c7253d3 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental2.kt.after @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt index 8badae821791..8677814076dd 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt.after index b2aa27f72828..ae3074e9a3f6 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/redundantWasExperimental3.kt.after @@ -1,5 +1,5 @@ // LANGUAGE_VERSION: 1.6 -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt index 1b2954e405f7..d684dca81e2d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt.after index 5e3dcfa8a468..81c1ddea9afb 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt index e2db779aafdc..63b6f8b6b3c2 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt.after b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt.after index 8d3ff7a02d4e..f5bc3c8d764d 100644 --- a/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/unmarkedClass.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after.fir b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after.fir index a324ff2a67c8..4ca25b72a712 100644 --- a/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after.fir +++ b/plugins/kotlin/idea/tests/testData/intentions/specifyTypeExplicitly/loopParameter.kt.after.fir @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.HashMap diff --git a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt index 722878083cd0..2382387493b3 100644 --- a/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt +++ b/plugins/kotlin/idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB import java.util.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt index cc7c16589074..19422faaa5e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt @@ -1,6 +1,6 @@ // "Remove annotation" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn @Target(AnnotationTarget.LOCAL_VARIABLE) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt.after index fc176f7e878e..e25110875d40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableAnnotationNoInitRemove.kt.after @@ -1,6 +1,6 @@ // "Remove annotation" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn @Target(AnnotationTarget.LOCAL_VARIABLE) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableNoGetterAction.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableNoGetterAction.kt index fb0bc3056bef..f74b00c5b39a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableNoGetterAction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/localVariableNoGetterAction.kt @@ -1,6 +1,6 @@ // "Move '@SomeOptInAnnotation' annotation from getter to property" "false" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB // ACTION: Remove annotation // ERROR: Opt-in requirement marker annotation cannot be used on variable diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt index 35ae0128c93a..ce2eadc262a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt @@ -2,7 +2,7 @@ // COMPILER_ARGUMENTS: -version -opt-in=AnotherMarker // COMPILER_ARGUMENTS_AFTER: -version -opt-in=AnotherMarker -opt-in=kotlin.RequiresOptIn // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt.after index 3afda672360a..a25f26994d04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/switchOnWithAnotherMarker.kt.after @@ -2,7 +2,7 @@ // COMPILER_ARGUMENTS: -version -opt-in=AnotherMarker // COMPILER_ARGUMENTS_AFTER: -version -opt-in=AnotherMarker -opt-in=kotlin.RequiresOptIn // DISABLE-ERRORS -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class MyExperimentalAPI diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt index 226ecd036033..19f2f186c2dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental @Target(AnnotationTarget.TYPEALIAS) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after index 8ef3fd744d7b..ee1502b72647 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn @Target(AnnotationTarget.TYPEALIAS) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt index 35286fed46a9..e5b7f37e4242 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt @@ -1,6 +1,6 @@ // "Remove deprecated '@Experimental' annotation" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after index e8fed2a3d3b3..51549317efe8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after @@ -1,6 +1,6 @@ // "Remove deprecated '@Experimental' annotation" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt index 1273de225885..ff44bfefde68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt @@ -1,6 +1,6 @@ // "Remove deprecated '@Experimental' annotation" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental(level = Experimental.Level.WARNING) @RequiresOptIn(message = "Some experimental API", level = RequiresOptIn.Level.ERROR) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after index de339adea99d..a9cf44f52c6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after @@ -1,6 +1,6 @@ // "Remove deprecated '@Experimental' annotation" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn(message = "Some experimental API", level = RequiresOptIn.Level.ERROR) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt index 4eef0eb3fecd..94b139b72147 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental(level=Experimental.Level.ERROR) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after index a457dce3aeb7..d878bd43becb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn(level = RequiresOptIn.Level.ERROR) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt index 638c32111841..6babba988d21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt @@ -1,7 +1,7 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // ERROR: Using 'Experimental' is an error. Please use RequiresOptIn instead. // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Experimental.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after index 82f83e3c6ddd..3142feef270f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after @@ -1,7 +1,7 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // ERROR: Using 'Experimental' is an error. Please use RequiresOptIn instead. // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB import kotlin.Experimental.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt index e52c82227ecb..d47f6aef2a2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -Xexperimental -// WITH_RUNTIME +// WITH_STDLIB @Experimental(level=Experimental.Level.WARNING) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after index 9dd0f5ca88ee..79526e09cbfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -Xexperimental -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn(level = RequiresOptIn.Level.WARNING) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt index 1b164d9d151e..a54fb80bbe23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB import kotlin.RequiresOptIn.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after index b0c1f20315c5..41aef677085d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB import kotlin.RequiresOptIn.* diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt index 25e1466f02c3..a69ad48ccd14 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after index 7a7ec13e6f1d..c18faa6313aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt index ef5154e2a1b3..32368ff7227f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental() annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after index 7a7ec13e6f1d..c18faa6313aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt index 49bbcb273fb6..3ca974cbfee4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental(Experimental.Level.ERROR) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after index a457dce3aeb7..d878bd43becb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn(level = RequiresOptIn.Level.ERROR) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt index dcaf40cf600d..a606925b1a84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @Experimental(Experimental.Level.WARNING) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after index f61204b6e2bf..96b478fe12af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after @@ -1,6 +1,6 @@ // "Replace deprecated '@Experimental' annotation with '@RequiresOptIn'" "true" // COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn(level = RequiresOptIn.Level.WARNING) annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt index 703684d58668..4fbdba4feecb 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt.after index e95d27db9aac..23cf787d01d2 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/allOptInAnnotations.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt index 38f02db7b88e..361b9b79f438 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt.after index 1c41d59bc64b..e919d36d020a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/containerOptInAnnotation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt index 5a09d4a632af..439bc083eee5 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val z: kotlin.Int defined in baz // PARAM_TYPES: kotlin.Int @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt.after index 2a9b3e4a8f5e..d422924fe70a 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterOptInAnnotations.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val z: kotlin.Int defined in baz // PARAM_TYPES: kotlin.Int @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt index 58d6082b55ba..2d91f02a9a71 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val z: kotlin.Int defined in baz // PARAM_TYPES: kotlin.Int @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt.after index a9276421d40d..bba227e4bdf3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/filterPropagatingMarkers.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val z: kotlin.Int defined in baz // PARAM_TYPES: kotlin.Int @RequiresOptIn diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt index 1e2e1f51f4af..617eb1ceabb0 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val y: kotlin.Int defined in bar // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt.after index d4738d9f175b..41a4d60f5717 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/noExperimentalApi.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // PARAM_DESCRIPTOR: val y: kotlin.Int defined in bar // PARAM_TYPES: kotlin.Int diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt index e0d218603bca..9e3285a594d3 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt.after index cc1c37858f87..76f623d9564e 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singleOptInAnnotation.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt index cf15f8715ffb..74faadeca31b 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt.after index d929530fd635..f962692e6ac9 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/singlePropagatingMarker.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB @RequiresOptIn annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt index 709a5333fb94..aa3eb72e9cad 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION 1.6 @Experimental annotation class Marker diff --git a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt.after b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt.after index cb73bd3f90cd..5862e006bffd 100644 --- a/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt.after +++ b/plugins/kotlin/idea/tests/testData/refactoring/extractFunction/experimental/useExperimental16.kt.after @@ -1,4 +1,4 @@ -// WITH_RUNTIME +// WITH_STDLIB // LANGUAGE_VERSION 1.6 @Experimental annotation class Marker