diff --git a/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt b/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt index dab108aef68..2b49291c4a9 100644 --- a/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt +++ b/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 9 -> sentence 2 * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 5 diff --git a/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt b/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt index 73201afe66a..e74866dd431 100644 --- a/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt +++ b/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt @@ -1,6 +1,6 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression -> paragraph 5 -> sentence 1 diff --git a/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt b/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt index 9614dc5bb3d..b50428a748e 100644 --- a/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt +++ b/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt @@ -1,6 +1,6 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression -> paragraph 5 -> sentence 1 diff --git a/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt b/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt index be91b96af13..5636055ec89 100644 --- a/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt +++ b/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression -> paragraph 5 -> sentence 1 diff --git a/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt b/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt index d3685bac5c0..40e3237f0d9 100644 --- a/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt +++ b/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression -> paragraph 5 -> sentence 1 diff --git a/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt b/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt index ef290bee272..7f3949b1f49 100644 --- a/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt +++ b/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 2 -> sentence 1 * - expressions, when-expression -> paragraph 5 -> sentence 1 */ diff --git a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt index a2bf728f6b2..d4f2d3c4a97 100644 --- a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt +++ b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 9 -> sentence 1 * - expressions, when-expression -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt index 36abd9c1a00..158ebf8e335 100644 --- a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt +++ b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt @@ -1,6 +1,6 @@ // KT-2902 Check for null should be required when match nullable enum element /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 diff --git a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt index 0a809965ace..ef6386562b8 100644 --- a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt +++ b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 diff --git a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt index a83f30fa299..7991379adf9 100644 --- a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt +++ b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 1 -> sentence 1 * - expressions, when-expression -> paragraph 1 -> sentence 2 diff --git a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt index 3f1b90006d2..2528ae8c3ff 100644 --- a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt +++ b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 1 -> sentence 1 * - expressions, when-expression -> paragraph 1 -> sentence 2 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt index f78cf3da2b2..e7853a61c4f 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt index 9a4d3e88884..6c185982fbb 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt index 4362d39de54..8085349f184 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt index d5ba8cc31b8..53e767d9c37 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt index 0054592f87f..376d8469d53 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 2 -> sentence 1 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt index 784ccb97825..1f01ee9abf0 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt index a93f12186ce..a384fa8678a 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: neg): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 5 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt index 6ab1e7a5b8a..905ec0346a1 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression -> paragraph 6 -> sentence 5 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt index 5178fa1c6c2..ece89a7abcd 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 4 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt index 03a4fd5548d..5cc95846898 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt index 5593a829de7..e2722a6f126 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt @@ -1,5 +1,5 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt index 1cb3793053b..6d68a016c2d 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt index 0b1b4f18423..c1ac7875cf1 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt index b9b56751c04..d6d8babdfcc 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt @@ -1,6 +1,6 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): + * RELEVANT SPEC SENTENCES (spec version: 0.1-313, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/p-1/pos/1.1.kt index 4d960f60c09..46728a8a418 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/p-1/pos/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-213 + * SPEC VERSION: 0.1-313 * PLACE: expressions, cast-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check of the cast operators as or as? diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json index c822e879664..156c1a8038d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check of the cast operators as or as?", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-6/pos/1.1.kt index 507f79a1626..c4c5cbf1c71 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-6/pos/1.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-220 + * SPEC VERSION: 0.1-313 * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean, otherwise it is an error diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json index b64701bd4b6..1fa71bd3814 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-220", + "specVersion": "0.1-313", "casesNumber": 0, "description": "The type of the condition expression must be a subtype of kotlin.Boolean, otherwise it is an error", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt index 77eca60906e..1f6292f5087 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-222 + * SPEC VERSION: 0.1-313 * PLACE: expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 2 * RELEVANT PLACES: expressions, jump-expressions, return-expressions -> paragraph 2 -> sentence 1 * expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 3 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt index 8ad3d7e96c7..54e1e550962 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-300 + * SPEC VERSION: 0.1-313 * PLACE: expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 3 * RELEVANT PLACES: expressions, jump-expressions, return-expressions -> paragraph 2 -> sentence 1 * expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json index 8298e38e4fa..0f6e3dc54e0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json @@ -56,7 +56,7 @@ "pos": { "2": [ { - "specVersion": "0.1-222", + "specVersion": "0.1-313", "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", "unexpectedBehaviour": false @@ -64,7 +64,7 @@ ], "3": [ { - "specVersion": "0.1-300", + "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", "unexpectedBehaviour": false @@ -76,14 +76,14 @@ "pos": { "1": [ { - "specVersion": "0.1-222", + "specVersion": "0.1-313", "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-300", + "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt", diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt index 932a58f3a3b..ad59974025d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-213 + * SPEC VERSION: 0.1-313 * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 6 -> sentence 1 * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt index 26f4478f1da..f3f849eea4d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-213 + * SPEC VERSION: 0.1-313 * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 6 -> sentence 1 * RELEVANT PLACES: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json index fe5dc4c9fc9..d587903abb5 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json @@ -3,13 +3,13 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "unexpectedBehaviour": false }, { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "unexpectedBehaviour": false @@ -21,7 +21,7 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt", diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt index 690c62a1f89..398044eeefe 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-213 + * SPEC VERSION: 0.1-313 * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 6 -> sentence 1 * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt index 1d94115ee27..534591642ec 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-213 + * SPEC VERSION: 0.1-313 * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 6 -> sentence 1 * RELEVANT PLACES: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json index 6e29ae72fdb..7bd25286a1f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json @@ -3,13 +3,13 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix increment expression has the same type as its operand expression", "unexpectedBehaviour": false }, { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": " check postfix increment expression", "unexpectedBehaviour": false @@ -21,7 +21,7 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": " check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt", diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json index bb029391fe2..e9a79474de5 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt", diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json index 8db6c99d8c0..6a8352e8c59 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-213", + "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix increment expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt", diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-7/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-7/pos/1.1.kt index 36cdec3e86f..759c258c5f6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-7/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-7/pos/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-297 + * SPEC VERSION: 0.1-313 * PLACE: expressions, try-expression -> paragraph 7 -> sentence 1 * NUMBER: 1 * DESCRIPTION: finally block has no effect on the value returned by the try-expression diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json index d9cb2c51f61..a48b47b8c33 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-297", + "specVersion": "0.1-313", "casesNumber": 0, "description": "finally block has no effect on the value returned by the try-expression", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-2/neg/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-2/neg/1.1.kt index d99e278f835..974141d583e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-2/neg/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-297 + * SPEC VERSION: 0.1-313 * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: E is T: The type T must be runtime-available, otherwise it is a compiler error diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-5/pos/1.1.kt index a869e7a755f..9dee256cae7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-5/pos/1.1.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-297 + * SPEC VERSION: 0.1-313 * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: the expression null is T? for any type T always evaluates to true diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json index 663ab6e917d..e2ab8ab3896 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json @@ -21,7 +21,7 @@ "neg": { "1": [ { - "specVersion": "0.1-297", + "specVersion": "0.1-313", "casesNumber": 0, "description": "E is T: The type T must be runtime-available, otherwise it is a compiler error", "unexpectedBehaviour": false @@ -33,7 +33,7 @@ "pos": { "1": [ { - "specVersion": "0.1-297", + "specVersion": "0.1-313", "casesNumber": 0, "description": "the expression null is T? for any type T always evaluates to true", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.1.kt index 5a41ac826c3..719ba9ec79d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Enum) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.kt index a8f3e6f1119..a7322775c75 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.3.kt index 000b1599bdf..fc55a6062a6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.3.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.4.kt index 1c4e02ac522..672d869d985 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.4.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (sealed class) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.1.kt index 52892d43baf..9d24d455d14 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Enum) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt index 9a93e94e7ef..8c51ba34501 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.3.kt index 27350c6528f..15a93c51266 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.3.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.4.kt index e31af62ab26..4b1b4a07d3a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.4.kt @@ -3,7 +3,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (sealed class) diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/neg/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/neg/2.1.kt index 84f34eedf5e..0981aa07ed0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/neg/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/neg/2.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The else condition is a special condition which evaluates to true if none of the branches above it evaluated to true. diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/pos/1.1.kt index 891a9247a27..dfef5592d66 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error. diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json index 0374ea32975..50eb13e27e4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json @@ -3,25 +3,25 @@ "neg": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (sealed class)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": "it is possible to replace the else condition with an always-true condition (Enum)", "unexpectedBehaviour": false @@ -31,25 +31,25 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (sealed class)", "unexpectedBehaviour": false }, { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": "it is possible to replace the else condition with an always-true condition (Enum)", "unexpectedBehaviour": false @@ -61,7 +61,7 @@ "neg": { "2": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": "The else condition is a special condition which evaluates to true if none of the branches above it evaluated to true.", "unexpectedBehaviour": false @@ -71,7 +71,7 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 0, "description": "The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error.", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.1.kt similarity index 76% rename from compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos/1.1.kt rename to compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.1.kt index 1edcbd4db01..9e874ea476e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.1.kt @@ -3,8 +3,8 @@ /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 4 -> sentence 1 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: infix calls for properties */ @@ -26,10 +26,10 @@ val B.extensionValC: C fun box(): String{ val b = B() - b memberValC 3 //resolved to (1) o_O + b memberValC 3 //resolved to (1) if (b.memberValC.isInvokeCalled) { c.isInvokeCalled = false - b extensionValC 4 //resolved to (1) o_O + b extensionValC 4 //resolved to (1) if (b.extensionValC.isInvokeCalled) return "OK" } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json index 1fc2d58a57f..ee0f9f1bdd0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json @@ -1,9 +1,9 @@ { - "4": { + "2": { "pos": { - "1": [ + "2": [ { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 0, "description": "infix calls for properties", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json index 500e32b727d..65feac96156 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json index f8412bab5a7..8d653b917f6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json @@ -86,7 +86,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json index f189ccbaa8b..a283268e550 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json @@ -107,21 +107,21 @@ "pos": { "1": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", @@ -130,21 +130,21 @@ ], "3": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json index e183128aab6..2a9a25656db 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json @@ -1,17 +1,4 @@ { - "9": { - "pos": { - "2": [ - { - "specVersion": "0.1-220", - "casesNumber": 0, - "description": "Correct info after array like call", - "path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt", - "unexpectedBehaviour": false - } - ] - } - }, "8": { "pos": { "1": [ @@ -24,5 +11,18 @@ } ] } + }, + "9": { + "pos": { + "2": [ + { + "specVersion": "0.1-220", + "casesNumber": 0, + "description": "Correct info after array like call", + "path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt", + "unexpectedBehaviour": false + } + ] + } } } \ No newline at end of file diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.kt index d71124c2ac5..14b77de2c93 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.kt @@ -6,7 +6,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/pos/1.1.kt index f637aa9877d..a3163891cd7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/pos/1.1.kt @@ -6,7 +6,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json index a45c9fb531b..65c77ffe5f7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json @@ -3,7 +3,7 @@ "neg": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 3, "description": "The type of the condition expression must be a subtype of kotlin.Boolean", "unexpectedBehaviour": true @@ -13,7 +13,7 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 4, "description": "The type of the condition expression must be a subtype of kotlin.Boolean", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt similarity index 93% rename from compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg/2.1.kt rename to compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt index 66cfce6f434..c22e5e591b6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 2 + * SPEC VERSION: 0.1-313 + * PLACE: expressions, jump-expressions, return-expressions -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check returning is not allowed from run{...} */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json index 14b3f35b354..36302d68965 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json @@ -11,11 +11,11 @@ ] } }, - "5": { + "4": { "neg": { - "2": [ + "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 2, "description": "check returning is not allowed from run{...}", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt index 5beab237124..8e016e25a71 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt index 48e733368d8..c3d5bb68cc2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json index bef74118c5d..372c04bc8be 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json @@ -3,7 +3,7 @@ "neg": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "unexpectedBehaviour": false @@ -11,7 +11,7 @@ ], "2": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt", @@ -22,7 +22,7 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "unexpectedBehaviour": false @@ -30,7 +30,7 @@ ], "2": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt index 5a27f78cbca..ef869631206 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt index 335d004a121..695bff5192e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json index 667c859eab7..7e26b2e008a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json @@ -3,7 +3,7 @@ "neg": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.", "unexpectedBehaviour": false @@ -11,7 +11,7 @@ ], "2": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt", @@ -22,7 +22,7 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean", "unexpectedBehaviour": false @@ -30,7 +30,7 @@ ], "2": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/testsMap.json index 22662fabfd3..0c51a029f4e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/testsMap.json @@ -21,7 +21,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", @@ -35,14 +35,14 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", @@ -106,7 +106,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", @@ -120,21 +120,21 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", @@ -186,28 +186,28 @@ ], "4": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", @@ -244,7 +244,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", @@ -279,28 +279,28 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", @@ -309,21 +309,21 @@ ], "5": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", @@ -377,7 +377,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", @@ -391,7 +391,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", @@ -418,7 +418,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", @@ -446,7 +446,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", @@ -482,7 +482,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", @@ -507,14 +507,14 @@ ], "9": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", @@ -542,21 +542,21 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", @@ -570,7 +570,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum annotated", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt", @@ -591,7 +591,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", @@ -607,7 +607,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", @@ -623,7 +623,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", @@ -657,7 +657,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", @@ -685,7 +685,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.kt index 549bf137029..78a1451f9c1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.kt @@ -6,7 +6,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: it is possible to replace the else condition with an always-true condition diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.kt index 468c97460b5..ed1db401716 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.kt @@ -6,7 +6,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-218 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: it is possible to replace the else condition with an always-true condition diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.kt index 2739c21fd8b..8b4c81115e1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-100 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and with different variants of expressions in the control structure body. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.kt index c30db826b99..5564d292f71 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.kt @@ -3,7 +3,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-100 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and allowed break and continue expression (without labels) in the control structure body. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.kt index 6d9c647f876..d0917db22d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.kt @@ -4,7 +4,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-201 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 6 -> sentence 7 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and with else branch not in the last position. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/7.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/7.1.kt index d7a64d4606e..603669b89fa 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/7.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/7.1.kt @@ -1,7 +1,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-201 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 6 -> sentence 7 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and else branch. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/testsMap.json index 4d50456cc11..11bca87807e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/testsMap.json @@ -30,7 +30,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", @@ -44,21 +44,21 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", @@ -95,7 +95,7 @@ ], "7": [ { - "specVersion": "0.1-201", + "specVersion": "0.1-313", "casesNumber": 3, "description": "\u0027When\u0027 with bound value and with else branch not in the last position.", "unexpectedBehaviour": false @@ -132,21 +132,21 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", @@ -214,14 +214,14 @@ "unexpectedBehaviour": true }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", @@ -265,7 +265,7 @@ ], "7": [ { - "specVersion": "0.1-201", + "specVersion": "0.1-313", "casesNumber": 3, "description": "\u0027When\u0027 with bound value and else branch.", "unexpectedBehaviour": false @@ -281,7 +281,7 @@ ], "5": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", @@ -295,7 +295,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", @@ -324,14 +324,14 @@ "neg": { "1": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", @@ -340,14 +340,14 @@ ], "2": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", @@ -360,7 +360,7 @@ "neg": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 4, "description": " it is possible to replace the else condition with an always-true condition", "unexpectedBehaviour": false @@ -370,7 +370,7 @@ "pos": { "1": [ { - "specVersion": "0.1-218", + "specVersion": "0.1-313", "casesNumber": 4, "description": " it is possible to replace the else condition with an always-true condition", "unexpectedBehaviour": false @@ -488,7 +488,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Comma in when condition without argument", "path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt", @@ -504,7 +504,7 @@ ], "4": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", @@ -513,7 +513,7 @@ ], "5": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", @@ -526,33 +526,33 @@ "pos": { "1": [ { - "specVersion": "0.1-100", + "specVersion": "0.1-313", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and allowed break and continue expression (without labels) in the control structure body.", "unexpectedBehaviour": false }, { - "specVersion": "0.1-100", + "specVersion": "0.1-313", "casesNumber": 25, "description": "\u0027When\u0027 with bound value and with different variants of expressions in the control structure body.", "unexpectedBehaviour": true }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", @@ -580,7 +580,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", @@ -601,35 +601,35 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Comma in when condition without argument", "path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", @@ -650,7 +650,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum annotated", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt", @@ -685,7 +685,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", @@ -706,7 +706,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", @@ -724,7 +724,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", @@ -752,7 +752,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", @@ -773,7 +773,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", @@ -787,7 +787,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", @@ -822,14 +822,14 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", @@ -857,21 +857,21 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", @@ -913,7 +913,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", @@ -927,7 +927,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", @@ -941,14 +941,14 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", @@ -961,7 +961,7 @@ "pos": { "2": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", @@ -977,7 +977,7 @@ ], "1": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt index ed74412d609..00f074e60c2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-268 + * SPEC VERSION: 0.1-313 * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt index 685d04475fe..1974d7f2614 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-268 + * SPEC VERSION: 0.1-313 * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt index 93b4eca16c0..fc3a60bc2ab 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-268 + * SPEC VERSION: 0.1-313 * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt index d693fef9b13..144dd3cc72b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt @@ -5,7 +5,7 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-268 + * SPEC VERSION: 0.1-313 * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt similarity index 93% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt index 13043f7fb50..a732549a820 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt similarity index 97% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt index f0342fb6e29..78be09cfb65 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt similarity index 97% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt index f07bb9f913d..12000fc002b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt similarity index 95% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt index 5e90aaf15a7..ac54db57c8b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt similarity index 95% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt index ff808d40f81..bc546353bac 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt similarity index 93% rename from compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt rename to compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt index d44b9d28e24..a9e7ef961d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt @@ -5,8 +5,8 @@ /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * - * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3 + * SPEC VERSION: 0.1-313 + * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json index eacc97b7fd7..f7d252c8f43 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json @@ -38,110 +38,110 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", - "casesNumber": 2, - "description": "Star-imported infix extension callables", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false - }, - { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", - "casesNumber": 4, - "description": "Local extension infix extension callables", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt", + "specVersion": "0.1-313", + "casesNumber": 2, + "description": "Star-imported infix extension callables", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 4, + "description": "Local extension infix extension callables", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt", "unexpectedBehaviour": false } ], - "3": [ + "4": [ { - "specVersion": "0.1-268", - "casesNumber": 2, - "description": "Star-imported infix extension callables", - "unexpectedBehaviour": false - }, - { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", - "casesNumber": 4, - "description": "Local extension infix extension callables", + "specVersion": "0.1-313", + "casesNumber": 2, + "description": "Star-imported infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 4, + "description": "Local extension infix extension callables", + "unexpectedBehaviour": false } ] }, "neg": { "1": [ { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", - "casesNumber": 1, - "description": "Star-imported extension callable only", - "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt", - "unexpectedBehaviour": false - }, - { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", + "casesNumber": 1, + "description": "Star-imported extension callable only", + "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 4, "description": "Implicitly imported extension callable without infix modifier", "unexpectedBehaviour": false @@ -149,30 +149,30 @@ ], "2": [ { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 4, "description": "Implicitly imported extension callable without infix modifier", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt", "unexpectedBehaviour": false } ], - "3": [ + "4": [ { - "specVersion": "0.1-268", + "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported extension callable only", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json index e5882dd0e3e..e3853968c44 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json @@ -3,7 +3,7 @@ "pos": { "1": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", @@ -24,7 +24,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", @@ -54,14 +54,14 @@ ], "8": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", @@ -79,7 +79,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", @@ -93,7 +93,7 @@ "unexpectedBehaviour": false }, { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", @@ -109,7 +109,7 @@ ], "6": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", @@ -118,7 +118,7 @@ ], "8": [ { - "specVersion": "0.1-152", + "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.1.kt index 05fa37724a2..85097539261 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.1.kt @@ -1,7 +1,7 @@ /* * KOTLIN PSI SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-100 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and empty control structure body. diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.2.kt index 71c4061d958..84be09d20b2 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.2.kt @@ -1,7 +1,7 @@ /* * KOTLIN PSI SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-100 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and empty 'when condition'. diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.3.kt index 533e5fb0709..a7446811f07 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-5/neg/1.3.kt @@ -1,7 +1,7 @@ /* * KOTLIN PSI SPEC TEST (NEGATIVE) * - * SPEC VERSION: 0.1-100 + * SPEC VERSION: 0.1-313 * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 * NUMBER: 3 * DESCRIPTION: 'When' with bound value and with invalid list of the conditions in 'when entry'. diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json index 025e2680909..270f2195a73 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json @@ -111,19 +111,19 @@ "neg": { "1": [ { - "specVersion": "0.1-100", + "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and empty \u0027when condition\u0027.", "unexpectedBehaviour": false }, { - "specVersion": "0.1-100", + "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and with invalid list of the conditions in \u0027when entry\u0027.", "unexpectedBehaviour": false }, { - "specVersion": "0.1-100", + "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and empty control structure body.", "unexpectedBehaviour": false diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/checkers/DiagnosticsTestSpecGenerated.java b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/checkers/DiagnosticsTestSpecGenerated.java index 0a2d6a009d3..ca0e8383a83 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/checkers/DiagnosticsTestSpecGenerated.java +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/checkers/DiagnosticsTestSpecGenerated.java @@ -1941,19 +1941,19 @@ public class DiagnosticsTestSpecGenerated extends AbstractDiagnosticsTestSpec { } } - @TestMetadata("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5") + @TestMetadata("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) - public static class P_5 extends AbstractDiagnosticsTestSpec { + public static class P_4 extends AbstractDiagnosticsTestSpec { private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } - public void testAllFilesPresentInP_5() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5"), Pattern.compile("^(.+)\\.kt$"), null, true); + public void testAllFilesPresentInP_4() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4"), Pattern.compile("^(.+)\\.kt$"), null, true); } - @TestMetadata("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg") + @TestMetadata("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Neg extends AbstractDiagnosticsTestSpec { @@ -1961,13 +1961,13 @@ public class DiagnosticsTestSpecGenerated extends AbstractDiagnosticsTestSpec { KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } - @TestMetadata("2.1.kt") - public void test2_1() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg/2.1.kt"); + @TestMetadata("1.1.kt") + public void test1_1() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt"); } public void testAllFilesPresentInNeg() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-5/neg"), Pattern.compile("^(.+)\\.kt$"), null, true); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg"), Pattern.compile("^(.+)\\.kt$"), null, true); } } } @@ -3931,9 +3931,9 @@ public class DiagnosticsTestSpecGenerated extends AbstractDiagnosticsTestSpec { runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt"); } - @TestMetadata("3.5.kt") - public void test3_5() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt"); + @TestMetadata("4.5.kt") + public void test4_5() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt"); } public void testAllFilesPresentInNeg() throws Exception { @@ -3949,29 +3949,29 @@ public class DiagnosticsTestSpecGenerated extends AbstractDiagnosticsTestSpec { KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } - @TestMetadata("3.1.kt") - public void test3_1() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt"); + @TestMetadata("4.1.kt") + public void test4_1() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt"); } - @TestMetadata("3.2.kt") - public void test3_2() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt"); + @TestMetadata("4.2.kt") + public void test4_2() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt"); } - @TestMetadata("3.3.kt") - public void test3_3() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt"); + @TestMetadata("4.3.kt") + public void test4_3() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt"); } - @TestMetadata("3.4.kt") - public void test3_4() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt"); + @TestMetadata("4.4.kt") + public void test4_4() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt"); } - @TestMetadata("3.5.kt") - public void test3_5() throws Exception { - runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt"); + @TestMetadata("4.5.kt") + public void test4_5() throws Exception { + runTest("compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt"); } public void testAllFilesPresentInPos() throws Exception { diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/codegen/BlackBoxCodegenTestSpecGenerated.java b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/codegen/BlackBoxCodegenTestSpecGenerated.java index b00f928d83e..ac4def36e07 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/codegen/BlackBoxCodegenTestSpecGenerated.java +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/codegen/BlackBoxCodegenTestSpecGenerated.java @@ -25,7 +25,7 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes } public void testAllFilesPresentInBox() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "helpers", "templates", "linked/type-inference", "linked/expressions/when-expression/exhaustive-when-expressions", "linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "helpers", "templates", "linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver"); } @TestMetadata("compiler/tests-spec/testData/codegen/box/linked") @@ -37,7 +37,7 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes } public void testAllFilesPresentInLinked() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked"), Pattern.compile("^(.+)\\.kt$"), null, true, "type-inference", "expressions/when-expression/exhaustive-when-expressions", "overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked"), Pattern.compile("^(.+)\\.kt$"), null, true, "overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver"); } @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/expressions") @@ -49,7 +49,7 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes } public void testAllFilesPresentInExpressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/expressions"), Pattern.compile("^(.+)\\.kt$"), null, true, "when-expression/exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/expressions"), Pattern.compile("^(.+)\\.kt$"), null, true); } @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression") @@ -3160,7 +3160,7 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes } public void testAllFilesPresentInWhen_expression() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression"), Pattern.compile("^(.+)\\.kt$"), null, true, "exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression"), Pattern.compile("^(.+)\\.kt$"), null, true); } @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4") @@ -3329,19 +3329,19 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call"), Pattern.compile("^(.+)\\.kt$"), null, true); } - @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4") + @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) - public static class P_4 extends AbstractBlackBoxCodegenTestSpec { + public static class P_2 extends AbstractBlackBoxCodegenTestSpec { private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } - public void testAllFilesPresentInP_4() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4"), Pattern.compile("^(.+)\\.kt$"), null, true); + public void testAllFilesPresentInP_2() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2"), Pattern.compile("^(.+)\\.kt$"), null, true); } - @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos") + @TestMetadata("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Pos extends AbstractBlackBoxCodegenTestSpec { @@ -3349,13 +3349,13 @@ public class BlackBoxCodegenTestSpecGenerated extends AbstractBlackBoxCodegenTes KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } - @TestMetadata("1.1.kt") - public void test1_1() throws Exception { - runTest("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos/1.1.kt"); + @TestMetadata("2.1.kt") + public void test2_1() throws Exception { + runTest("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.1.kt"); } public void testAllFilesPresentInPos() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-4/pos"), Pattern.compile("^(.+)\\.kt$"), null, true); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos"), Pattern.compile("^(.+)\\.kt$"), null, true); } } } diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/parsing/ParsingTestSpecGenerated.java b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/parsing/ParsingTestSpecGenerated.java index 7cc625adfa0..a889b6a6dbf 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/parsing/ParsingTestSpecGenerated.java +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/parsing/ParsingTestSpecGenerated.java @@ -25,7 +25,7 @@ public class ParsingTestSpecGenerated extends AbstractParsingTestSpec { } public void testAllFilesPresentInPsi() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi"), Pattern.compile("^(.+)\\.kt$"), null, true, "helpers", "templates", "linked/type-inference", "linked/expressions/when-expression/exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi"), Pattern.compile("^(.+)\\.kt$"), null, true, "helpers", "templates"); } @TestMetadata("compiler/tests-spec/testData/psi/linked") @@ -37,7 +37,7 @@ public class ParsingTestSpecGenerated extends AbstractParsingTestSpec { } public void testAllFilesPresentInLinked() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked"), Pattern.compile("^(.+)\\.kt$"), null, true, "type-inference", "expressions/when-expression/exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked"), Pattern.compile("^(.+)\\.kt$"), null, true); } @TestMetadata("compiler/tests-spec/testData/psi/linked/expressions") @@ -49,7 +49,7 @@ public class ParsingTestSpecGenerated extends AbstractParsingTestSpec { } public void testAllFilesPresentInExpressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked/expressions"), Pattern.compile("^(.+)\\.kt$"), null, true, "when-expression/exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked/expressions"), Pattern.compile("^(.+)\\.kt$"), null, true); } @TestMetadata("compiler/tests-spec/testData/psi/linked/expressions/constant-literals") @@ -981,7 +981,7 @@ public class ParsingTestSpecGenerated extends AbstractParsingTestSpec { } public void testAllFilesPresentInWhen_expression() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked/expressions/when-expression"), Pattern.compile("^(.+)\\.kt$"), null, true, "exhaustive-when-expressions"); + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/tests-spec/testData/psi/linked/expressions/when-expression"), Pattern.compile("^(.+)\\.kt$"), null, true); } @TestMetadata("compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1")