diff --git a/compiler/testData/diagnostics/tests/callableReference/bareType.kt b/compiler/testData/diagnostics/tests/callableReference/bareType.kt index 46df2d7d6d8..9ac0c282578 100644 --- a/compiler/testData/diagnostics/tests/callableReference/bareType.kt +++ b/compiler/testData/diagnostics/tests/callableReference/bareType.kt @@ -1,6 +1,8 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-220, test type: pos): - * - expressions, call-and-property-access-expressions, callable-references -> paragraph 3 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-220 + * PRIMARY LINKS: expressions, call-and-property-access-expressions, callable-references -> paragraph 3 -> sentence 1 */ fun f1() = Map::hashCode fun f2() = Map.Entry::hashCode diff --git a/compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt b/compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt index d97dfe23998..de8b9d44602 100644 --- a/compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt +++ b/compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt @@ -1,8 +1,10 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE // !CHECK_TYPE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-220, test type: pos): - * - expressions, call-and-property-access-expressions, callable-references -> paragraph 11 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-220 + * PRIMARY LINKS: expressions, call-and-property-access-expressions, callable-references -> paragraph 11 -> sentence 3 */ import kotlin.reflect.KFunction0 diff --git a/compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt b/compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt index 1d6fecadf39..1db49d54e89 100644 --- a/compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt +++ b/compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt @@ -1,9 +1,11 @@ // !LANGUAGE: +NewInference // !DIAGNOSTICS: -UNUSED_PARAMETER /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-220, test type: pos): - * - expressions, call-and-property-access-expressions, navigation-operators -> paragraph 9 -> sentence 2 - * - expressions, call-and-property-access-expressions, navigation-operators -> paragraph 8 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-220 + * PRIMARY LINKS: expressions, call-and-property-access-expressions, navigation-operators -> paragraph 9 -> sentence 2 + * expressions, call-and-property-access-expressions, navigation-operators -> paragraph 8 -> sentence 1 */ import kotlin.reflect.KProperty1 diff --git a/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt b/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt index 2b49291c4a9..bf20a34f100 100644 --- a/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt +++ b/compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - annotations, annotation-targets -> paragraph 1 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 5 + * annotations, annotation-targets -> paragraph 1 -> sentence 1 */ fun foo(a: Int) { @ann diff --git a/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt b/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt index e74866dd431..2c368c2f65d 100644 --- a/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt +++ b/compiler/testData/diagnostics/tests/when/BranchBypassVal.kt @@ -1,11 +1,13 @@ // !WITH_NEW_INFERENCE /* - * 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 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 6 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 6 */ class A diff --git a/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt b/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt index b50428a748e..6b89cbd0051 100644 --- a/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt +++ b/compiler/testData/diagnostics/tests/when/BranchBypassVar.kt @@ -1,11 +1,13 @@ // !WITH_NEW_INFERENCE /* - * 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 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 */ class A diff --git a/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt b/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt index 5636055ec89..cb50ba33c9e 100644 --- a/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt +++ b/compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt @@ -1,10 +1,12 @@ /* - * 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 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 */ enum class My { A, B } diff --git a/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt b/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt index 40e3237f0d9..160fa7f08c9 100644 --- a/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt +++ b/compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt @@ -1,10 +1,12 @@ /* - * 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 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 8 */ class A diff --git a/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt b/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt index 7f3949b1f49..447cf794d78 100644 --- a/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt +++ b/compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt @@ -1,7 +1,9 @@ /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 */ fun foo(x: Int, y: Int): Int = when { diff --git a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt index d4f2d3c4a97..ffddb756eb7 100644 --- a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt +++ b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt @@ -1,9 +1,11 @@ /* - * 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 - * - expressions, when-expression -> paragraph 2 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 1 + * expressions, when-expression -> paragraph 2 -> sentence 4 + * expressions, when-expression -> paragraph 2 -> sentence 5 */ package test diff --git a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt index 158ebf8e335..738e404302b 100644 --- a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt +++ b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt @@ -1,9 +1,11 @@ // KT-2902 Check for null should be required when match nullable enum element /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 */ // FILE: 1.kt diff --git a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt index ef6386562b8..362fbfb74c6 100644 --- a/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt +++ b/compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt @@ -1,8 +1,10 @@ /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 */ enum class E { A, B } diff --git a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt index 7991379adf9..ea8c4658dbf 100644 --- a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt +++ b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression -> paragraph 6 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 1 -> sentence 1 + * expressions, when-expression -> paragraph 1 -> sentence 2 + * expressions, when-expression -> paragraph 6 -> sentence 5 */ // EA-68871: empty when condition diff --git a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt index 2528ae8c3ff..8b3c2acf7b8 100644 --- a/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt +++ b/compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression -> paragraph 6 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 1 -> sentence 1 + * expressions, when-expression -> paragraph 1 -> sentence 2 + * expressions, when-expression -> paragraph 6 -> sentence 5 */ // EA-68871: empty when condition diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt index e7853a61c4f..17ceb2b6750 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 */ // See also: KT-3743 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt index 6c185982fbb..54472b40e1d 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 */ fun foo(arg: Boolean): String { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt index 8085349f184..3b0933f5354 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 */ // See also: KT-3743 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt index 53e767d9c37..15299cd2c05 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt @@ -1,10 +1,12 @@ // FIR_IDENTICAL /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 */ // See also: KT-3743 diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt index 376d8469d53..d0db24cde50 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt @@ -1,10 +1,12 @@ /* - * 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 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 - * - control--and-data-flow-analysis, control-flow-graph, statements-1 -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * control--and-data-flow-analysis, control-flow-graph, statements-1 -> paragraph 0 -> sentence 0 */ enum class Color { RED, GREEN, BLUE } diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt index 1f01ee9abf0..db917e778c0 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt @@ -1,8 +1,10 @@ /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ enum class MyEnum { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt index a384fa8678a..9864e2eb57a 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt @@ -1,9 +1,11 @@ /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 5 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ enum class MyEnum { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt index 905ec0346a1..7f7ddcaceb3 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt @@ -1,10 +1,12 @@ /* - * 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 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 5 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 */ enum class Direction { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt index ece89a7abcd..25e23ad8b76 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt @@ -1,11 +1,13 @@ /* - * 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 */ fun foo(b: Boolean): Int { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt index 5cc95846898..2d4e0543a55 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt @@ -1,10 +1,12 @@ /* - * 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 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 */ enum class MyEnum { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt index e2722a6f126..277b53fe3e1 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt @@ -1,7 +1,9 @@ /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt index 6d68a016c2d..057dfa712e0 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt @@ -1,8 +1,10 @@ // FIR_IDENTICAL /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt index c1ac7875cf1..9ca962c9c33 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt @@ -1,9 +1,11 @@ // FIR_IDENTICAL /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt index d6d8babdfcc..05beab47fc0 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt @@ -1,9 +1,11 @@ // FIR_IDENTICAL /* - * 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 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-313 + * PRIMARY LINKS: 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 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt index 2c0b3db8268..9b932d3b216 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt @@ -1,7 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 923 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt index c9bab9edfda..8eb102e1655 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt @@ -1,9 +1,11 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - 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 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 */ enum class Direction { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt index 1d6f3b98c06..684de364469 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt @@ -1,9 +1,11 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - 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 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 */ enum class Direction { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt index b5f44c03031..c5dd4ef380b 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt @@ -1,11 +1,13 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 3 */ fun foo(a: Boolean, b: Boolean): Int { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt index d41e768a31b..ebf6e94a18a 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 */ fun foo(a: Boolean, b: Boolean): Int { diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt index ad43d12985e..22ccf26e884 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 */ // KT-7857: when exhaustiveness does not take previous nullability checks into account diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt index 9f6a69df814..1e9a81fcc3d 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 */ // KT-7857: when exhaustiveness does not take previous nullability checks into account diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt index 2cc4c61317c..7061a5e8d27 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 5 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 */ // KT-7857: when exhaustiveness does not take previous nullability checks into account diff --git a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt index e4fac1119d5..3259ceaf08b 100644 --- a/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt +++ b/compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 */ // KT-7857: when exhaustiveness does not take previous nullability checks into account diff --git a/compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt b/compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt index 2b63db3548d..9cd15b14552 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 */ fun foo(x: Int) { diff --git a/compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt b/compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt index f15a1c05958..53a35c30195 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 */ fun foo(x: Int): Any { diff --git a/compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt b/compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt index cb32e058d23..791a254b8e0 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt @@ -1,9 +1,11 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, function-literals, lambda-literals -> paragraph 10 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, function-literals, lambda-literals -> paragraph 10 -> sentence 1 */ fun foo(x: Int) { diff --git a/compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt b/compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt index 80bd63ef9b3..f6b22498c82 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, function-literals, lambda-literals -> paragraph 10 -> sentence 1 - * - overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, function-literals, lambda-literals -> paragraph 10 -> sentence 1 + * overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 3 */ fun foo(x: Int) { diff --git a/compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt b/compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt index da30bade9e3..4dc63a2739a 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 */ fun foo(x: Int): Any { diff --git a/compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt b/compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt index 9f340861986..833c96c7602 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 */ diff --git a/compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt b/compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt index c0daafb57e6..5e85c54de16 100644 --- a/compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt +++ b/compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt @@ -1,8 +1,10 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 2 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 2 */ fun foo(x: Int) { diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt index 223b4b60cd6..545d5c3cc55 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt @@ -1,9 +1,11 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 */ // See also: KT-3743 diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt b/compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt index 0c99aceb3a0..e07e7975845 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ // See KT-6399: exhaustive whens on platform enums diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt index 19287f9664a..a0cbfd75119 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt @@ -1,11 +1,13 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 */ // Base for KT-6227 diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt index db50402e545..841beaf65b0 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt @@ -1,12 +1,14 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 */ // Base for KT-6227 diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt index 389ec766181..16d6c63b033 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 */ // Base for KT-6227 diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt index 3fe4dd75743..2b3f3e3070a 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt @@ -1,12 +1,14 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 7 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 3 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 7 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 3 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 */ sealed class S diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt index 42b5d3fe696..92e628921ac 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt @@ -1,13 +1,15 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 */ // Base for KT-6227 diff --git a/compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt b/compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt index 519ed0ba2e3..34ba7eced8d 100644 --- a/compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt +++ b/compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt @@ -1,10 +1,12 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - expressions, when-expression -> paragraph 9 -> sentence 2 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * expressions, when-expression -> paragraph 9 -> sentence 2 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 */ // KT-7857: when exhaustiveness does not take previous nullability checks into account diff --git a/compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt b/compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt index 4cfd18a3ca5..649173b7a64 100644 --- a/compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt +++ b/compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt @@ -1,11 +1,13 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 - * - control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 - * - declarations, classifier-declaration, classifier-initialization -> paragraph 6 -> sentence 4 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 2 -> sentence 3 + * control--and-data-flow-analysis, performing-analysis-on-the-control-flow-graph, variable-initialization-analysis -> paragraph 3 -> sentence 2 + * declarations, classifier-declaration, classifier-initialization -> paragraph 6 -> sentence 4 */ // See KT-5113 diff --git a/compiler/testData/diagnostics/tests/when/RedundantElse.kt b/compiler/testData/diagnostics/tests/when/RedundantElse.kt index e521c9acf56..a82f36e3435 100644 --- a/compiler/testData/diagnostics/tests/when/RedundantElse.kt +++ b/compiler/testData/diagnostics/tests/when/RedundantElse.kt @@ -1,11 +1,13 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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 6 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 - * - expressions, when-expression -> paragraph 6 -> sentence 10 - * - expressions, when-expression -> paragraph 6 -> sentence 11 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: 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 6 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 + * expressions, when-expression -> paragraph 6 -> sentence 10 + * expressions, when-expression -> paragraph 6 -> sentence 11 */ // FILE: MyEnum.java diff --git a/compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt b/compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt index bf9817af3f2..6989da12de5 100644 --- a/compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt +++ b/compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt @@ -1,8 +1,10 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 */ // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/when/TopLevelSealed.kt b/compiler/testData/diagnostics/tests/when/TopLevelSealed.kt index bedb452b828..9ea59cd85d8 100644 --- a/compiler/testData/diagnostics/tests/when/TopLevelSealed.kt +++ b/compiler/testData/diagnostics/tests/when/TopLevelSealed.kt @@ -1,11 +1,13 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, 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 6 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 7 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 8 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 7 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 8 */ sealed class A { diff --git a/compiler/testData/diagnostics/tests/when/When.kt b/compiler/testData/diagnostics/tests/when/When.kt index a7b376993cc..e657da1d321 100644 --- a/compiler/testData/diagnostics/tests/when/When.kt +++ b/compiler/testData/diagnostics/tests/when/When.kt @@ -1,14 +1,16 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 2 -> sentence 5 - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 6 -> sentence 1 - * - expressions, when-expression -> paragraph 6 -> sentence 3 - * - expressions, when-expression -> paragraph 6 -> sentence 5 - * - expressions, when-expression -> paragraph 6 -> sentence 9 - * - expressions, when-expression -> paragraph 6 -> sentence 10 - * - expressions, when-expression -> paragraph 6 -> sentence 11 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 5 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 3 + * expressions, when-expression -> paragraph 6 -> sentence 5 + * expressions, when-expression -> paragraph 6 -> sentence 9 + * expressions, when-expression -> paragraph 6 -> sentence 10 + * expressions, when-expression -> paragraph 6 -> sentence 11 */ fun Int.foo() : Boolean = true diff --git a/compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt b/compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt index dedb648265b..fe6a807d59b 100644 --- a/compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt +++ b/compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt @@ -1,11 +1,13 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 6 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 2 -> sentence 1 - * - control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 2 -> sentence 1 + * control--and-data-flow-analysis, control-flow-graph, expressions-1, boolean-operators -> paragraph 0 -> sentence 0 */ fun foo(s: Any): String { diff --git a/compiler/testData/diagnostics/tests/when/kt10439.kt b/compiler/testData/diagnostics/tests/when/kt10439.kt index 5178f8b49b0..4f419505dc2 100644 --- a/compiler/testData/diagnostics/tests/when/kt10439.kt +++ b/compiler/testData/diagnostics/tests/when/kt10439.kt @@ -1,12 +1,14 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 1 - * - expressions, conditional-expression -> paragraph 4 -> sentence 1 - * - expressions, conditional-expression -> paragraph 5 -> sentence 1 - * - overload-resolution, determining-function-applicability-for-a-specific-call, rationale -> paragraph 1 -> sentence 1 - * - overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 1 + * expressions, conditional-expression -> paragraph 4 -> sentence 1 + * expressions, conditional-expression -> paragraph 5 -> sentence 1 + * overload-resolution, determining-function-applicability-for-a-specific-call, rationale -> paragraph 1 -> sentence 1 + * overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 1 */ fun foo(x: Int) = x diff --git a/compiler/testData/diagnostics/tests/when/kt10809.kt b/compiler/testData/diagnostics/tests/when/kt10809.kt index efc1a11f6f0..fd4baa81a4a 100644 --- a/compiler/testData/diagnostics/tests/when/kt10809.kt +++ b/compiler/testData/diagnostics/tests/when/kt10809.kt @@ -2,18 +2,20 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -DEBUG_INFO_SMARTCAST // NI_EXPECTED_FILE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression -> paragraph 6 -> sentence 1 - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - expressions, conditional-expression -> paragraph 4 -> sentence 1 - * - declarations, function-declaration -> paragraph 7 -> sentence 1 - * - type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 - * - type-system, type-kinds, type-parameters -> paragraph 4 -> sentence 1 - * - type-inference, local-type-inference -> paragraph 8 -> sentence 1 - * - type-inference, local-type-inference -> paragraph 2 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 1 + * expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, conditional-expression -> paragraph 4 -> sentence 1 + * declarations, function-declaration -> paragraph 7 -> sentence 1 + * type-inference, smart-casts, smart-cast-types -> paragraph 9 -> sentence 1 + * type-system, type-kinds, type-parameters -> paragraph 4 -> sentence 1 + * type-inference, local-type-inference -> paragraph 8 -> sentence 1 + * type-inference, local-type-inference -> paragraph 2 -> sentence 1 */ interface Data diff --git a/compiler/testData/diagnostics/tests/when/kt10811.kt b/compiler/testData/diagnostics/tests/when/kt10811.kt index 479de475679..51913862054 100644 --- a/compiler/testData/diagnostics/tests/when/kt10811.kt +++ b/compiler/testData/diagnostics/tests/when/kt10811.kt @@ -1,15 +1,17 @@ // FIR_IDENTICAL /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - expressions, conditional-expression -> paragraph 4 -> sentence 1 - * - type-inference, local-type-inference -> paragraph 8 -> sentence 1 - * - type-inference, local-type-inference -> paragraph 2 -> sentence 1 - * - type-system, subtyping, subtyping-rules -> paragraph 2 -> sentence 3 - * - type-system, subtyping, subtyping-for-nullable-types -> paragraph 4 -> sentence 1 - * - type-system, subtyping, subtyping-for-nullable-types -> paragraph 4 -> sentence 2 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, conditional-expression -> paragraph 4 -> sentence 1 + * type-inference, local-type-inference -> paragraph 8 -> sentence 1 + * type-inference, local-type-inference -> paragraph 2 -> sentence 1 + * type-system, subtyping, subtyping-rules -> paragraph 2 -> sentence 3 + * type-system, subtyping, subtyping-for-nullable-types -> paragraph 4 -> sentence 1 + * type-system, subtyping, subtyping-for-nullable-types -> paragraph 4 -> sentence 2 */ interface Maybe diff --git a/compiler/testData/diagnostics/tests/when/kt4434.kt b/compiler/testData/diagnostics/tests/when/kt4434.kt index 63ab94d3fd3..4b1e2704686 100644 --- a/compiler/testData/diagnostics/tests/when/kt4434.kt +++ b/compiler/testData/diagnostics/tests/when/kt4434.kt @@ -1,9 +1,11 @@ /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 5 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 6 -> sentence 5 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 5 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 1 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 6 -> sentence 5 */ // KT-4434 Missed diagnostic about else branch in when diff --git a/compiler/testData/diagnostics/tests/when/kt9972.kt b/compiler/testData/diagnostics/tests/when/kt9972.kt index 88c53de95fd..5d737542c58 100644 --- a/compiler/testData/diagnostics/tests/when/kt9972.kt +++ b/compiler/testData/diagnostics/tests/when/kt9972.kt @@ -1,11 +1,13 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - expressions, when-expression -> paragraph 9 -> sentence 1 - * - expressions, conditional-expression -> paragraph 4 -> sentence 1 - * - expressions, conditional-expression -> paragraph 5 -> sentence 1 + * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * expressions, when-expression -> paragraph 9 -> sentence 1 + * expressions, conditional-expression -> paragraph 4 -> sentence 1 + * expressions, conditional-expression -> paragraph 5 -> sentence 1 */ fun test1(): Int { diff --git a/compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt b/compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt index 598e289ad7c..3fe94eaf418 100644 --- a/compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt +++ b/compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt @@ -1,11 +1,13 @@ // !WITH_NEW_INFERENCE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - type-system, subtyping, subtyping-rules -> paragraph 2 -> sentence 1 - * - type-inference, local-type-inference -> paragraph 2 -> sentence 1 - * - overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * type-system, subtyping, subtyping-rules -> paragraph 2 -> sentence 1 + * type-inference, local-type-inference -> paragraph 2 -> sentence 1 + * overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 3 -> sentence 3 */ val test1: (String) -> Boolean = diff --git a/compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt b/compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt index 34a502648dd..4874ca7bc58 100644 --- a/compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt +++ b/compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt @@ -1,13 +1,15 @@ // !WITH_NEW_INFERENCE // NI_EXPECTED_FILE /* - * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: neg): - * - expressions, when-expression -> paragraph 2 -> sentence 1 - * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * - declarations, function-declaration -> paragraph 7 -> sentence 1 - * - declarations, function-declaration -> paragraph 7 -> sentence 2 - * - declarations, function-declaration -> paragraph 8 -> sentence 1 - * - overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 1 -> sentence 3 + * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) + * + * SPEC VERSION: 0.1-152 + * PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1 + * expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * declarations, function-declaration -> paragraph 7 -> sentence 1 + * declarations, function-declaration -> paragraph 7 -> sentence 2 + * declarations, function-declaration -> paragraph 8 -> sentence 1 + * overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 1 -> sentence 3 */ val test1 = when { diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/BaseDiagnosticsTest.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/BaseDiagnosticsTest.kt index 5c5d7ed8a31..9e8059df008 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/BaseDiagnosticsTest.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/BaseDiagnosticsTest.kt @@ -101,7 +101,7 @@ abstract class BaseDiagnosticsTest : KotlinMultiFileTestWithJava) : Boolean = false + protected open fun shouldSkipTest(wholeFile: File, files: List): Boolean = false protected abstract fun analyzeAndCheck(testDataFile: File, files: List) @@ -412,7 +412,8 @@ abstract class BaseDiagnosticsTest : KotlinMultiFileTestWithJava|") - val SPEC_LINKS_IN_TESTDATA_PATTERN = Regex("""/\*\s+\*\s+RELEVANT SPEC SENTENCES[\w\W]*?\*/\n""") + val SPEC_LINKS_IN_TESTDATA_PATTERN = + Regex("""\/\*\s+? \* KOTLIN (PSI|DIAGNOSTICS|CODEGEN BOX) SPEC TEST \((POSITIVE|NEGATIVE)\)\n([\s\S]*?\n)\s+\*\/\n""") fun parseDiagnosticFilterDirective( directiveMap: Directives, diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt index 152bbef5f49..3034929122f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, additive-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, additive-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, additive-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, additive-expression -> paragraph 1 -> sentence 1 * expressions, additive-expression -> paragraph 1 -> sentence 2 * expressions, additive-expression -> paragraph 3 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt index b15acd3ddc4..7f581f90c0c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, additive-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, additive-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, additive-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, additive-expression -> paragraph 1 -> sentence 1 * expressions, additive-expression -> paragraph 1 -> sentence 2 * expressions, additive-expression -> paragraph 3 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt index 05f56a2e78a..2e0df26c024 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check kotlin.Nothing by throwing the exception */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.10.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.10.kt index fcb12fb4ba3..3080afe3a7c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.10.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.10.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 10 * DESCRIPTION: ckeck a common type of String and Nothing is String */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.2.kt index 74f6751baef..2eb36aa8eb1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.3.kt index c0df1225d69..1751d884f03 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.3.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.4.kt index e0f021ecac5..77ecba684d7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.4.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 4 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.5.kt index 83e2ea5f468..fa411ee95fe 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.5.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 5 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.6.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.6.kt index 02a1c15c3f6..2109727eb56 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.6.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 6 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.7.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.7.kt index 0e2ed3059a3..998083cb26b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.7.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 7 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.8.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.8.kt index c3e8a2645f8..0fa3e8b5480 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.8.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 8 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.9.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.9.kt index 5181f9a9f47..ace9c18993c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.9.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.9.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 9 * DESCRIPTION: check kotlin.Nothing type */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt index 4dc8934280c..7a938b2d5c7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.unit -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.unit -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: todo */ 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 46728a8a418..650a8fcfa8a 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, cast-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: 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/comparison-expressions/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt index 90491d398f8..9544755da91 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, comparison-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, comparison-expressions -> paragraph 1 -> sentence 1 * expressions, comparison-expressions -> paragraph 2 -> sentence 1 * expressions, comparison-expressions -> paragraph 3 -> sentence 1 * expressions, comparison-expressions -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt index e561be1a42a..19c996206a2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, comparison-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, comparison-expressions -> paragraph 1 -> sentence 1 * expressions, comparison-expressions -> paragraph 2 -> sentence 2 * expressions, comparison-expressions -> paragraph 3 -> sentence 1 * expressions, comparison-expressions -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt index 5853913a75a..f21516aa555 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, comparison-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, comparison-expressions -> paragraph 1 -> sentence 1 * expressions, comparison-expressions -> paragraph 2 -> sentence 3 * expressions, comparison-expressions -> paragraph 3 -> sentence 1 * expressions, comparison-expressions -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt index c550e43cc00..aa2c27075e5 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, comparison-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, comparison-expressions -> paragraph 1 -> sentence 1 * expressions, comparison-expressions -> paragraph 2 -> sentence 3 * expressions, comparison-expressions -> paragraph 3 -> sentence 1 * expressions, comparison-expressions -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.1.kt index 585d4ec156c..4bcca8dc4b7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.2.kt index 6652c847254..f7275e16254 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.2.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.3.kt index 707d888a59b..50719b06fa4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.3.kt @@ -5,8 +5,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, conditional-expression -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, conditional-expression -> paragraph 4 -> sentence 2 * NUMBER: 3 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.4.kt index ca94c897f1a..b1beb76fed6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.4.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.5.kt index fe479dca99e..af3e5211c33 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.5.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.6.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.6.kt index fd9232a3d6d..d17b47bb16d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.6.kt @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 6 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.7.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.7.kt index e48d18ef361..b16303e2956 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.7.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 7 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.8.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.8.kt index 30eb2430710..1100bbf114a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.8.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, conditional-expression -> paragraph 1 -> sentence 2 * NUMBER: 8 * DESCRIPTION: if-expression: check the correct branch is evaluating */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-2/pos/1.1.kt index a52f5891363..def27e10b30 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-2/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, conditional-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, conditional-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: branchless conditional expression, despite being of almost no practical use, is valid in Kotlin */ 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 c4c5cbf1c71..2be758cdad5 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 @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: 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/constant-literals/boolean-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt index 560f9ef5a64..c91101f1148 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.10.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.10.kt index 8c463a745bb..f9fbd899ec9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.10.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.10.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 10 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the companionObject. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.11.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.11.kt index 103db2acdbb..1eba61f7076 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.11.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.11.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 11 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.12.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.12.kt index 11b3dbe8e8c..53af7f5afad 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.12.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.12.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 12 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the setter. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.13.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.13.kt index adab549b6cd..1acb541b4d9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.13.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.13.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 13 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the simpleUserType. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.14.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.14.kt index 6583826cb84..6eadec3f356 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.14.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.14.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 14 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeParameter. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.15.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.15.kt index 1369d86ab0c..dd329d863ce 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.15.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.15.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 15 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the parameter. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.16.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.16.kt index 229c2b9eb0b..53b2ecc4528 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.16.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.16.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 16 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.17.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.17.kt index 795e4de5436..deefdef763f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.17.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.17.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 17 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the object. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.18.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.18.kt index ca4b6ab3d57..b59427e915b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.18.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.18.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 18 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeAlias. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.19.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.19.kt index 9739905874b..3250bc0450f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.19.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.19.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 19 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the import. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.2.kt index 326b8b0c882..8088f3f5f3e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelReference. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.20.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.20.kt index c5f706fbbc5..46abb583928 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.20.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.20.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 20 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.21.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.21.kt index ba6eff5bb70..7fe434ade26 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.21.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.21.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 21 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the catchBlock. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.22.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.22.kt index b85530e0bfb..7ee16ec5223 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.22.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.22.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 22 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelDefinition. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.23.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.23.kt index 0303880ed1e..aeb5c61077c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.23.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.23.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 23 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the atomicExpression. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.24.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.24.kt index 306eb7f0d86..f7a3eba02c1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.24.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.24.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 24 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.25.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.25.kt index 3cc8c3565ad..206d75caf6d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.25.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.25.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 25 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the valueArgument. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.26.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.26.kt index 213b4f567bb..1901ba952ca 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.26.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.26.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 26 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the callableReference. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.3.kt index df6be0d7770..7a8c4e7f8f7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeConstraint. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.4.kt index 2763e65ead2..16dcb2cd03d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.4.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.5.kt index 83e65de4355..eb9ef551609 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.5.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageComplex. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.6.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.6.kt index 706070926fe..72fb79eff20 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.6.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 6 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageSimple. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.7.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.7.kt index d371fbc04d6..ecfb466387b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.7.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 7 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the enumEntry. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.8.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.8.kt index 71e9d9c2544..b3efdfb9d13 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.8.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 8 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.9.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.9.kt index e275c237079..4feb8c66997 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.9.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.9.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 9 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/p-4/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/p-4/pos/2.1.kt index 8c3793958ce..ce372920787 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/p-4/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/p-4/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: character literal codepoint is equal to the unicode symbol codes */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt index 0a133d8c3e9..405ec010efd 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Sequences with binary digit symbols. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt index 4f8a97f6fc7..3293569ca1c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Sequences with binary digit symbols separated by underscores. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt index 8f368063813..629a4fb000d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Sequences with decimal digit symbols. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt index da877194f8d..7fec16063c4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Sequences with decimal digit symbols separated by underscores. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt index 15f84cadb7a..7fce3c6c641 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Sequences with hexadecimal digit symbols. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt index 4ff8d43fd72..51f8ad93552 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Sequences with hexadecimal digit symbols separated by underscores. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt index 3293488bb77..a094de8896d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt index 5c71f3c99c2..3f224221016 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt index 6adc1c9acdf..537f7d99504 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with an exponent mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt index 11f6a8b32ed..8516d48df46 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt index e562132990e..c2a73cbd16d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt index f37b7f23b64..137f4aca817 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt index ff7ab3283b8..6560e81b041 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt index e5b888dc124..3dc991e4b61 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt index 0591b29885d..bda50a380e4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt index 686936834ee..9ad87895fbe 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt index c7978f4489d..c5c98cd0fee 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt index 97febdaf154..3613097b7c9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt index 62ccd006d79..abe8aca322c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt index beb52ac53a6..f5df77a1cd1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt index c4a19ffeaef..783efdffdf1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt index 55ccbfe7337..97897da33b7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt index 820d4d07d3e..f8732ccf646 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Decimal integer literals with long literal mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt index 23b77c02159..95572049ef2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Hexadecimal integer literals with long literal mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt index 219ba96476a..5fe320ddc88 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Binary integer literals with long literal mark. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt index 214ff719bf9..33ae72a5284 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, elvis-operator-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, elvis-operator-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, elvis-operator-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, elvis-operator-expression -> paragraph 1 -> sentence 1 * expressions, elvis-operator-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Check Elvis evaluation diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.1.kt index 2c9864c532c..681c000e3f6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check if two values are equal (===) by reference */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt index 4fcd123458b..bdda1df89d9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 3 * expressions, equality-expressions, reference-equality-expressions -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check if two values are equal (===) by reference diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.3.kt index 691b36cccd3..70e30cb537b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: check if two values are non-equal (!==) by reference */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.4.kt index 751205a17e1..5c2edf92d31 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.4.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: check if values are non-equal (!==) by reference */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.5.kt index 1db2f90ce24..c8909b84416 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.5.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: two values are equal (===) or non-equal (!==) by reference */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/3.1.kt index 29d660e23cf..5c5e0c74b93 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: check equallity by refference via constructor */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/1.1.kt index 1f3edce91ea..b155dbc75c6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If these values are non-equal by value, they are also non-equal by reference; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.1.kt index fcf46d53c9f..7408caaf1c9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Any instance of the null reference null is equal by reference to any other instance of the null reference; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.2.kt index 9ee4ea67293..7a5a3bf8656 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-3/pos/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, reference-equality-expressions -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Any instance of the null reference null is equal by reference to any other instance of the null reference; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.1.kt index e721db35966..8d1b7f22501 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.2.kt index eff222a4dfb..4c2d4450f42 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.3.kt index e4754d5085a..6b43851c48e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 3 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.4.kt index f35089b9008..9ac20192d77 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 4 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.5.kt index 67a7abe4756..02bfb7fb94e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.5.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 * NUMBER: 5 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.1.kt index 5c392a37df4..7271bb4b6e1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.2.kt index 90420e8db75..dc6865491d8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.3.kt index 022fd08e020..9037b591da8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 * NUMBER: 3 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.4.kt index b30adf40b9b..f777c204312 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.4.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 * NUMBER: 4 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.5.kt index f767502578e..46cae4ef015 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/2.5.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 2 -> sentence 2 * NUMBER: 5 * DESCRIPTION: check value-equality-expression */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt index aef6d5cadf3..fe3f61d7764 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, indexing-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, indexing-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, indexing-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, indexing-expressions -> paragraph 1 -> sentence 1 * expressions, indexing-expressions -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A[I_0,I_1,...,I_N] is exactly the same as A.get(I_0,I_1,...,I_N), where get is a valid operator function available in the current scope diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt index 2253d6008c0..c310fce30d4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, indexing-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, indexing-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, indexing-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, indexing-expressions -> paragraph 1 -> sentence 1 * expressions, indexing-expressions -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: A[I_0,I_1,...,I_N] is exactly the same as A.get(I_0,I_1,...,I_N), where get is a valid operator function available in the current scope diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt index 79a9c0ab4b0..ee2060e9ff6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, indexing-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, indexing-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, indexing-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, indexing-expressions -> paragraph 1 -> sentence 1 * expressions, indexing-expressions -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: A[I_0,I_1,...,I_N] is exactly the same as A.get(I_0,I_1,...,I_N), where get is a valid operator function available in the current scope diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt index 8f702475025..2c5d060af35 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, indexing-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, indexing-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, indexing-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, indexing-expressions -> paragraph 1 -> sentence 1 * expressions, indexing-expressions -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: A[I_0,I_1,...,I_N] is exactly the same as A.get(I_0,I_1,...,I_N), where get is a valid operator function available in the current scope diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt index 3093af17ba6..c99146128de 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt @@ -5,8 +5,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, indexing-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, indexing-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, indexing-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, indexing-expressions -> paragraph 1 -> sentence 1 * expressions, indexing-expressions -> paragraph 2 -> sentence 1 * NUMBER: 5 * DESCRIPTION: A[I_0,I_1,...,I_N] is exactly the same as A.get(I_0,I_1,...,I_N), where get is a valid operator function available in the current scope diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt index 46e6e3ab5a3..ad0b660ac4c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, break-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt index e97223e83cf..24662024958 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, break-expression -> paragraph 2 -> sentence 1 * statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt index 464b461dab8..c1110eadaf1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 2 - * RELEVANT PLACES: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 2 + * PRIMARY LINKS: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, break-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt index f5009964fc2..16869e6fd00 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 2 - * RELEVANT PLACES: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 3 -> sentence 2 + * PRIMARY LINKS: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, break-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt index c9c8f6d074b..fa70680bd78 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, continue-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt index 5bff76d0385..6d403823c4f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, continue-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt index 35c7d3850f4..1b7de473b40 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 2 - * RELEVANT PLACES: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 2 + * PRIMARY LINKS: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, continue-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt index 263553ac7e4..99c2354fc6d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 2 - * RELEVANT PLACES: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 3 -> sentence 2 + * PRIMARY LINKS: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 2 * expressions, jump-expressions, continue-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt index 20291daf74e..24be6268a61 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.2.kt index 8d6a4cb6bb5..41e11c74529 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 * NUMBER: 2 * DESCRIPTION: */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt index 30d7070e1bc..bce5dae5b57 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 2 * expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 * NUMBER: 3 * DESCRIPTION: 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 1f6292f5087..a3665ac83d6 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 2 + * PRIMARY LINKS: expressions, jump-expressions, return-expressions -> paragraph 2 -> sentence 1 * expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 3 * expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 * NUMBER: 1 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 54e1e550962..d1a25b025fc 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 3 + * PRIMARY LINKS: expressions, jump-expressions, return-expressions -> paragraph 2 -> sentence 1 * expressions, jump-expressions, return-expressions -> paragraph 3 -> sentence 2 * expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.1.kt index e68120a59cf..570469f8668 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: operator && does not evaluate the right hand side argument unless the left hand side argument evaluated to false. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.2.kt index 55ab7131bc7..9ae3bbefd82 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: operator && does not evaluate the right hand side argument unless the left hand side argument evaluated to false. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.3.kt index dd956da5936..6f6a997694b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: operator && does not evaluate the right hand side argument unless the left hand side argument evaluated to false. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.1.kt index 9318799a434..f8735df6dab 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.2.kt index 63842ba43dc..758db8afa96 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.3.kt index 48b6ae59845..bea266f2b42 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt index 41bbf01b4cc..925d84af34c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, multiplicative-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, multiplicative-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 * expressions, multiplicative-expression -> paragraph 1 -> sentence 2 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt index 503c2f949ff..98b82b06fe1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, multiplicative-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, multiplicative-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 * expressions, multiplicative-expression -> paragraph 1 -> sentence 2 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt index 2a4b550096e..bf0ad05707d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, multiplicative-expression -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, multiplicative-expression -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 1 -> sentence 1 * expressions, multiplicative-expression -> paragraph 1 -> sentence 2 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt index c093e9415fb..d9925d51ede 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt index a79b384ceb1..03a3d8ca948 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/3.1.kt index 578009c219b..a5e84129468 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 3 * NUMBER: 1 * DESCRIPTION: If the evaluation result of e is not equal to null, the result of e!! is the evaluation result of e. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt index 08d48c599fa..7aef8be574c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt index 740a5dc1b74..3d20b7e80b7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.1.kt index 91361fc1012..c3ce5b19819 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 3 * NUMBER: 1 * DESCRIPTION: check for a decrement expression A-- expression A must be an assignable expression (an indexing expression) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.2.kt index f6971823f84..26a3e73b3a9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: check for A-- expression A must be an assignable expression (a navigation expression referring to a mutable property) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-5/pos/1.1.kt index ee5c3dfbd23..de88b036ca9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the result of dec() is assigned to A, the return type of dec must be a subtype of A. */ 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 ad59974025d..ab3fd408040 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 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 f3f849eea4d..0d638ce9bef 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-decrement-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check postfix decrement expression has the same type as its operand expression diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt index 038b894947a..ccf40b087b3 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt index f1f5860811c..66255877ae4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.1.kt index 40fe93d0623..46e62a06150 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 3 * NUMBER: 1 * DESCRIPTION: check for a increment expression A++ expression A must be an assignable expression (an indexing expression) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.2.kt index d9d1812edcf..024ea02882a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: check for A++ expression A must be an assignable expression (a navigation expression referring to a mutable property) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-5/pos/1.1.kt index 44b35bf6ab0..a52e4fe6d66 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the result of inc() is assigned to A, the return type of inc must be a subtype of A. */ 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 398044eeefe..22026233788 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 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 534591642ec..a60a7a0b2ce 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 @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: expressions, postfix-operator-expressions, postfix-increment-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check postfix increment expression has the same type as its operand expression diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt index 22e78f16112..561105d302c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, prefix-expressions, logical-not-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, logical-not-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, logical-not-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, logical-not-expression -> paragraph 1 -> sentence 1 * expressions, prefix-expressions, logical-not-expression -> paragraph 1 -> sentence 2 * expressions, prefix-expressions, logical-not-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt index 0ed4045806f..8a2613fa592 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt index af87ba8429c..3aa02a7477e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.1.kt index ff4a995c5ca..0add07c41e9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 3 * NUMBER: 1 * DESCRIPTION: check for a prefix increment expression --A expression A must be an assignable expression (an indexing expression) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.2.kt index d4351714021..4b0f687ecc8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: check for a prefix decrement expression --A expression A must be an assignable expression (a navigation expression referring to a mutable property) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/pos/1.1.kt index 4c541e8b0bb..c293e134141 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the result of dec() is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt index 72dd7f595cb..07ba0f3810f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt index 356c49e0338..be1c16a0d32 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt index 0975b6f5409..85b1c4e503d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt index 7c1f17c6d29..7766d4a8f08 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.1.kt index 90a06605ee1..c01ec94c93d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 3 * NUMBER: 1 * DESCRIPTION: check for a prefix increment expression ++A expression A must be an assignable expression (an indexing expression) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.2.kt index 062a26aec72..98125debe8b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: check for a prefix increment expression ++A expression A must be an assignable expression (a navigation expression referring to a mutable property) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/pos/1.1.kt index 990f8d53be7..734e038b526 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the result of inc() is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt index 0a597cd2ec5..23f55b32aab 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * statements, assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt index 65dc8224228..430db788d1b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 1 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt index eb50a271030..de631007cd6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, prefix-expressions, unary-minus-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, unary-minus-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, unary-minus-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, unary-minus-expression -> paragraph 1 -> sentence 2 * expressions, prefix-expressions, unary-minus-expression -> paragraph 1 -> sentence 1 * expressions, prefix-expressions, unary-minus-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt index 8d61d21f707..1bb6c46b4a2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, prefix-expressions, unary-plus-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, prefix-expressions, unary-plus-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, unary-plus-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, prefix-expressions, unary-plus-expression -> paragraph 1 -> sentence 1 * expressions, prefix-expressions, unary-plus-expression -> paragraph 1 -> sentence 2 * expressions, prefix-expressions, unary-plus-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt index a7dc42df481..3ca1ae4dd4d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, range-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, range-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, range-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, range-expression -> paragraph 1 -> sentence 1 * expressions, range-expression -> paragraph 1 -> sentence 2 * expressions, range-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt index cbcc298cba2..c175c08696b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. * EXCEPTION: runtime diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt index 96d19a175f1..5edf83fce99 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt index 81404a6beb0..175c7ec90b2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt index 146104552d7..96f089ccd83 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.1.kt index 25a561184dc..0071d7a3784 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 3 * NUMBER: 1 * DESCRIPTION: If there are several catch blocks which match the exception type, the first one is picked. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.2.kt index ec1e242de74..c8b67112b69 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 3 * NUMBER: 2 * DESCRIPTION: If there are several catch blocks which match the exception type, the first one is picked. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt index e316d533e30..87cfdca8589 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * exceptions, catching-exceptions -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt index 250dedef808..f1d11cd1ec5 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If no exception is thrown during the evaluation of the try body, no catch blocks are executed, the finally block is evaluated after the try body, and the program execution continues as normal. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt index 93808f80ddc..d2550d38567 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: the finally block is evaluated after the evaluation of the matching catch block. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt index 33a9a4453c6..ee82954c19c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * exceptions, catching-exceptions -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-6/pos/1.1.kt index fcfe6ba4313..b4a28576b42 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-6/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION:The value of the try-expression is the same as the value of the last expression of the try or catch block */ 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 759c258c5f6..00c8ad310cc 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, try-expression -> paragraph 7 -> sentence 1 + * MAIN LINK: 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/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt index 3c3f8add48f..a59ea289e19 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 1 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 3 -> sentence 1 * diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt index 88c4bb1de03..30466feaf94 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 1 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 3 -> sentence 1 * diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt index 8a1f5626646..fff0ee12581 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 1 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt index aeffccdbcfe..5a68cf0518a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 2 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 1 -> sentence 1 * expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/neg/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/neg/1.1.kt index fb908daa978..ac408b9eb06 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/neg/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/neg/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The contains function must have a return type kotlin.Boolean, otherwise it is a compile-time error. * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.1.kt index 3cfe7e9884b..4c0313d63bb 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION:checks whether the runtime type of E is not a subtype of T for !is operator. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.2.kt index cf9def831fe..56368e02228 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-1/pos/3.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION:checks whether the runtime type of EE is a subtype of TT for is operator */ 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 974141d583e..e4bd95fa12d 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: 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 * EXCEPTION: compiletime 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 9dee256cae7..583db05ee27 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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/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 719ba9ec79d..5e6650c9d06 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 @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Enum) * EXCEPTION: compiletime 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 a7322775c75..85edd18e6e0 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) * EXCEPTION: compiletime 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 fc55a6062a6..be1f290431b 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean) * EXCEPTION: compiletime 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 672d869d985..a9f99ae14b8 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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) * EXCEPTION: compiletime 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 9d24d455d14..19d4402293d 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 @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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 8c51ba34501..c01407cb6f6 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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 15a93c51266..ae4e5c76d04 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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 4b1b4a07d3a..4379a18fe84 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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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 0981aa07ed0..42bb7449010 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 @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: 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. * EXCEPTION: compiletime 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 dfef5592d66..85d2c7e8d75 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 @@ -5,7 +5,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.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 index 9e874ea476e..1546bf88d62 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/2.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 @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: infix calls for properties */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt index e084d1d1a99..b9a7aae4f9c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt index bce2543a579..ec423276caa 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 10 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt index 7abcfa66c22..9a57db1f4ac 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt index 3b245aa259e..035681f046e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 3 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt index e3a2f2185a8..da31ccfc185 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 4 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt index 5f13bc14915..99080ca98c4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 5 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt index d0b5d94bd4a..819d5e4f9af 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 6 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt index 22160bbc9bb..a53ec77bbe7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 7 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt index 6502fa87b0b..584e6e4fba7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 8 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt index 2bfd64046fa..73e47757a1d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 3 -> sentence 1 * NUMBER: 9 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt index 37fcc681fc6..7479a1ec418 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 6 * NUMBER: 1 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt index f9fa936d728..e3d3587d78d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 4 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 4 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 9 * NUMBER: 10 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt index 9ee12e8bafd..6233f1b1237 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 6 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 6 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 3 * NUMBER: 2 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt index ebb1770a31a..e7e3a980313 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 * NUMBER: 4 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt index 271f3509c3d..ff63e2f6520 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 7 * NUMBER: 5 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt index 34c923ce3ab..860c5e28c4d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 7 * NUMBER: 6 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt index 08418010b43..e3911556f39 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 7 * NUMBER: 7 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt index b3a3d1909d4..c262164e4cf 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 8 * NUMBER: 8 * DESCRIPTION: function-like prio is higher than property-like callables diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt index 9b6f62d80c8..cc70605fbfe 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 2 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 8 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 * NUMBER: 9 diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.1.kt index 125682ff4c1..cdd366af58c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 2 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: implicit this receiver has higher priority than any companion object receiver */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.2.kt index 7b79c2e628f..2bae6e0cc64 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 2 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 2 * NUMBER: 2 * DESCRIPTION: implicit this receiver has higher priority than any companion object receiver */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/3.1.kt index 3c3a2cdc9f0..b020927235f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 3 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 3 * NUMBER: 1 * DESCRIPTION: The phantom static implicit this receiver has higher priority than the current class companion object receiver; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/4.2.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/4.2.kt index 2524f6127a0..4fc7d378b00 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/4.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/4.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE:overload-resolution, receivers -> paragraph 5 -> sentence 4 + * MAIN LINK:overload-resolution, receivers -> paragraph 5 -> sentence 4 * NUMBER: 2 * DESCRIPTION: Current class companion object receiver has higher priority than any of the superclass companion objects; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/5.1.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/5.1.kt index 5e87b227785..91d46085df8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/5.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/5.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 5 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 4 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 5 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 4 * NUMBER: 1 * DESCRIPTION: Superclass companion object receivers are prioritized according to the inheritance order */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt index bac922b186e..d56877a9e91 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: A += B is exactly the same as A.plusAssign(B) or A = A.plus(B) (applied in order) * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt index c8aefa286e5..185cb8d3df6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.1.kt index 48209132ecf..79306740bf1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 * NUMBER: 1 * DESCRIPTION: A /= B is exactly the same as A.divAssign(B) or A = A.div(B) (applied in order) * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt index 420f61812cf..69258d501ab 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 12 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.1.kt index da9fdf1d030..c394f5949da 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 * NUMBER: 1 * DESCRIPTION: A %= B is exactly the same as A.remAssign(B) or A = A.rem(B) (applied in order) * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt index 7daefbf1c6c..3741a86aa29 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 15 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.1.kt index 8bb44fcb08e..8da1bbf1987 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 * NUMBER: 1 * DESCRIPTION: A -= B is exactly the same as A.minusAssign(B) or A = A.minus(B) (applied in order) * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt index 231172a54a1..44ebf62283d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 6 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.1.kt index a2288865169..885fac670a1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 * NUMBER: 1 * DESCRIPTION: A *= B is exactly the same as A.timesAssign(B) or A = A.times(B) (applied in order) * EXCEPTION: compiletime diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt index b827bbb843e..8d7e38fb89a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 9 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt index c1f278e6a64..863165aa7ae 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: A += B is exactly the same as A.plusAssign(B) or A = A.plus(B) (applied in order) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt index d8245fffe55..f3dc0dd3de9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.1.kt index ee3a8641a80..f94c6cb47a3 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 * NUMBER: 1 * DESCRIPTION: A /= B is exactly the same as A.divAssign(B) or A = A.div(B) (applied in order) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt index 8f065d49ed1..cf6fa584a72 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 10 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 11 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 12 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.1.kt index 80fd6a6e346..f709a28d2b4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 * NUMBER: 1 * DESCRIPTION: A %= B is exactly the same as A.remAssign(B) or A = A.rem(B) (applied in order) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt index a531619ceff..ebd393dd45e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 13 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 14 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 15 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.1.kt index 57c2918d951..dc3ea97bea1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 * NUMBER: 1 * DESCRIPTION: A -= B is exactly the same as A.minusAssign(B) or A = A.minus(B) (applied in order) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt index c91532955db..2fbc585b617 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 5 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: A -= B is exactly the same as A.plusAssign(B) or A = A.minus(B) (applied in order) diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt index e1e9b46d7f2..baf00220d32 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 9 * NUMBER: 1 * DESCRIPTION: A *= B is exactly the same as A.timesAssign(B) or A = A.times(B) (applied in order) diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt index 79c78ddbd45..cd846b62400 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 7 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 8 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 9 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.1.kt index 4de201f95a7..bbe2b974f92 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If a property has a setter, it is called using the right-hand side expression as its argument; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.2.kt index e59b373940c..c68c300aa88 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: If a property has a setter, it is called using the right-hand side expression as its argument; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.3.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.3.kt index 3d82ab8d166..910e2f2faf9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.3.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: If a property has a setter (including delegated properties), it is called using the right-hand side expression as its argument */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.4.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.4.kt index 8aeca3a2dfa..2a00fcaa2f5 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.4.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 4 * DESCRIPTION: check if a property has a setter, it is called using the right-hand side expression as its argument;If the left-hand side of an assignment refers to a mutable property through the usage of safe navigation operator (?.) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.5.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.5.kt index 51e42c467ec..40622d1b01a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.5.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.5.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 5 * DESCRIPTION: check if a property has a setter, it is called using the right-hand side expression as its argument;If the left-hand side of an assignment refers to a mutable property through the usage of safe navigation operator (?.) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.6.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.6.kt index 1fa2c033a47..b0c92a15863 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.6.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.6.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 6 * DESCRIPTION: check if a property has a setter, it is called using the right-hand side expression as its argument;If the left-hand side of an assignment refers to a mutable property through the usage of safe navigation operator (?.) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.7.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.7.kt index e0168c19746..06087a5440b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.7.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.7.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 7 * DESCRIPTION: check if a property has a setter, it is called using the right-hand side expression as its argument;If the left-hand side of an assignment refers to a mutable property through the usage of safe navigation operator (?.) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.8.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.8.kt index 33411a56c73..13be753278b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.8.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 8 * DESCRIPTION: check if a property has a setter, it is called using the right-hand side expression as its argument;If the left-hand side of an assignment refers to a mutable property through the usage of safe navigation operator (?.) */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.1.kt index 0d31377ebf9..aa703d9a69f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: If a property has a setter, it is called using the right-hand side expression as its argument; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.2.kt index 098caedb976..2b99ba172c2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: If a property has a setter, it is called using the right-hand side expression as its argument; */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.3.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.3.kt index 9e1044420a6..94128429ac8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.3.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 2 * NUMBER: 3 * DESCRIPTION: If a property has a setter (including delegated properties), it is called using the right-hand side expression as its argument */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-6/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-6/pos/1.1.kt index 4c830a5e3a9..b9c6bad271b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-6/pos/1.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments, simple-assignments -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: statements, assignments, simple-assignments -> paragraph 7 -> sentence 1 + * MAIN LINK: statements, assignments, simple-assignments -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: statements, assignments, simple-assignments -> paragraph 7 -> sentence 1 * NUMBER: 1 * DESCRIPTION: */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt index 65c5e98a90e..8b777a5dc54 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: statements, loop-statements, do-while-loop-statement -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 2 -> sentence 1 * statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: do-while-loop-statement evaluates the loop condition expression after evaluating the loop body. diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt index 63de09e5f5d..17b604721a2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: statements, loop-statements, do-while-loop-statement -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 2 -> sentence 1 * statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: do-while-loop-statement evaluates the loop condition expression after evaluating the loop body. diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.1.kt index c5e3ba9fbd4..5dac3440748 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.1.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: statements, loop-statements, while-loop-statement -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: while-loop-statement evaluates the loop condition expression before evaluating the loop body. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.2.kt b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.2.kt index 02c7aae4f69..91be52652b3 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.2.kt @@ -4,8 +4,8 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: statements, loop-statements, while-loop-statement -> paragraph 2 -> sentence 1 + * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: while-loop-statement evaluates the loop condition expression before evaluating the loop body. */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/p-5/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/p-5/pos/2.1.kt index 02bbc6a7037..becd10df731 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/p-5/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 5 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY diff --git a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt index 9136f68b385..eaa4fbc7f6f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: todo */ diff --git a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.2.kt index 6a27bc49c52..cf8826439dc 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check the allowance of returning Nothing where String is expected */ diff --git a/compiler/tests-spec/testData/codegen/box/templates/_layout/linkedTestsLayout.kt b/compiler/tests-spec/testData/codegen/box/templates/_layout/linkedTestsLayout.kt index e97bd82397a..cd61b4e6b83 100644 --- a/compiler/tests-spec/testData/codegen/box/templates/_layout/linkedTestsLayout.kt +++ b/compiler/tests-spec/testData/codegen/box/templates/_layout/linkedTestsLayout.kt @@ -2,7 +2,7 @@ * KOTLIN CODEGEN BOX SPEC TEST () * * SPEC VERSION: 0.1-draft - * PLACE: -> paragraph -> sentence + * MAIN LINK: -> paragraph -> sentence * NUMBER: * DESCRIPTION: * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt index c93ce9167bc..eec210e47f0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check if-expressions must have both branches. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.kt index 956d9a7ee95..d44f58871e0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check if-expressions must have both branches. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt index c2cb54540c0..27b93598ef0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check if-expressions must have both branches. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.kt index 525ebc1fd9f..60cad0cfc32 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check if-expressions must have both branches. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt index 5dd3c8bb914..5d135a1f9fb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition without 'else' key word) */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.kt index 04bf1652a57..23a64d72380 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition without 'else' key word) */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt index a8080b01fec..f2e9edf0577 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 4 * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition with 'else' key word) */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.kt index 883c33dfdd3..19da53b5c93 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 4 * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition with 'else' key word) */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt index 9a7cb03d0f5..1585bd5d2d3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.kt index 177057de52e..b153467d4a9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.1.kt index d735a51f350..d387d2cfb65 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check if-expressions must have both branches. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.2.kt index a36ef9870b3..ab25c3a0622 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/1.2.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: check if-expressions must have both branches. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/2.1.kt index 67db7e3cc7b..8b5ddb36b92 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/pos/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 + * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression. * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt index 6ee7ee579a3..bcd542901e0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check abstract classes can have abstract not implemented members */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt index 41257847c83..5a226bbf338 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check abstract classes can have abstract not implemented members */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt index dfcc5a16c42..2062a3273dc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check abstract classes cannot be instantiated directly */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt index 3c8173b6b80..69d28f1a5c4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check abstract classes cannot be instantiated directly */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/pos/2.1.kt index 87b0174738c..30b87ddea60 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/pos/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check abstract classes can have abstract not implemented members */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt index aa77995b198..e4fc8d5bd9e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.kt index 29d0b545fbb..805661ceae1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt index e3b3fd5c585..9ff672d5a5e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 10 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.kt index 872257d10fc..75a4a22980c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 10 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt index b36cb7cdad9..febec6aa097 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an anonymous class that inherits from that abstract type */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.kt index 78e9c774a5f..d4dff507f43 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an anonymous class that inherits from that abstract type */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt index 3e59bcbb1ec..f5791773730 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: attempt to implement abstract members with invalid types */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.kt index c3132d85b23..d7a22bc3fea 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: attempt to implement abstract members with invalid types */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt index 8bf5072eb33..020420e69ee 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an inner class that inherits from that abstract type */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.kt index a10c7b307da..6e251ff74d8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an inner class that inherits from that abstract type */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt index 267d883181e..0c9bc126c45 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.kt index e2e05392df6..7208e7f0cef 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt index 66331381dad..c928186c92c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.kt index 89f4bed5afa..71b83e9bb1a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt index f2ccef07ac1..3742f54957d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 7 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.kt index b09167d4f86..7859f9f1392 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 7 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt index 31f06cb2c84..89f80c3a668 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 8 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.kt index 5fc4d49bc31..acc6e6777a9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 8 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt index e1614c6762b..66c7da4a98b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 9 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825, KT-35325 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.kt index 8cbe4386925..614a4a83c98 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: inheritance, overriding -> paragraph 7 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 * NUMBER: 9 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * ISSUES: KT-27825, KT-35325 diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.1.kt index ac866ea76f2..cf0fe1d0724 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt index fe84893cda6..1a9c275fb89 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.kt index 7ad5b51d15a..b91210c2a92 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt index affa6196686..7f0e9289302 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.kt index ab2097c9144..77ea7bb4160 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt index 184f8ac9cd5..584a50b6f87 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 + * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/p-1/neg/1.1.kt index 9b0445e95db..314cd90bb89 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/p-1/neg/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: declarations, property-declaration, local-property-declaration -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: declarations, property-declaration, property-initialization -> paragraph 1 -> sentence 1 + * MAIN LINK: declarations, property-declaration, local-property-declaration -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: declarations, property-declaration, property-initialization -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: All non-abstract properties must be definitely initialized before their first use. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt index 8a74f34da70..0b691e48193 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, additive-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, additive-expression -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, additive-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, additive-expression -> paragraph 4 -> sentence 2 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The return type of these functions is not restricted. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt index 1d58ef91933..89e434a3352 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, additive-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, additive-expression -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, additive-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, additive-expression -> paragraph 4 -> sentence 2 * overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The return type of these functions is not restricted. diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt index aa9fdc78400..cb3ecb2cbc8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the type of jump expressions is Nothing and code placed on the left side of expression will never be executed */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt index 5eaa135d26a..7c0cfd9834c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check the type of jump expressions is Nothing and code placed on the left side of expression will never be executed */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt index f6b2238ea52..b7e3df9a1df 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, built-in-types-and-their-semantics, kotlin.unit -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.unit -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Check of Unit type * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/callable-references/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/callable-references/testsMap.json index 5d21107a9a3..b0cc371f01d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/callable-references/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/callable-references/testsMap.json @@ -2,6 +2,13 @@ "11": { "pos": { "3": [ + { + "specVersion": "0.1-220", + "casesNumber": 0, + "description": "Callable reference as last expression in block", + "path": "compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-220", "casesNumber": 0, @@ -15,6 +22,13 @@ "3": { "pos": { "1": [ + { + "specVersion": "0.1-220", + "casesNumber": 0, + "description": "Bare type", + "path": "compiler/testData/diagnostics/tests/callableReference/bareType.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-220", "casesNumber": 0, 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 2a9a25656db..b079c548a41 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,4 +1,24 @@ { + "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 + }, + { + "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": [ @@ -11,18 +31,5 @@ } ] } - }, - "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/comparison-expressions/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt index 1ec85e565da..0f0ef6b2066 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overloadable-operators -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: <, >, <= and >= operators are overloadable */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.kt index e110fe9d30e..8340150cc27 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-220 - * PLACE: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overloadable-operators -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: <, >, <= and >= operators are overloadable */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt index dae43a51a65..0cfa0da91f3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: overloadable-operators -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The compareTo operator function must have return type kotlin.Int */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.kt index 14a6c24aa4e..809181b0f9e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: overloadable-operators -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The compareTo operator function must have return type kotlin.Int */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-5/pos/1.1.kt index 7b648309254..ad9cfc2efc2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-5/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, comparison-expressions -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overloadable-operators -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, comparison-expressions -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: All comparison expressions always have type kotlin.Boolean. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt index 5eff5eee8a1..e72c9e294a2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean * HELPERS: checkType 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 14b77de2c93..2ebaa0fc177 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 @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean * HELPERS: checkType 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 57cf0bae626..bad8eea7b7f 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 @@ -8,7 +8,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, conditional-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/2.1.kt index 666824814f7..a7287caf68d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: checking of type for Boolean values: impossible to use as identifiers * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt index 87b078d2d7c..5a409c4aebf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Checking of type for Boolean values * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.kt index b6d9de9d174..216c1d5da3b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Checking of type for Boolean values * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt index dc4b7ad3b37..0fa2bf7bbef 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: checking of type for Boolean values: possible to use as identifiers if surround with backticks * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.1.kt index 6189cb9f506..5523b3d5341 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.1.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Checking of type for Boolean values * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.2.kt index 2195b0b229f..b9014697312 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.2.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Checking of subtype for Boolean values * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt index 36ddc8d1b8a..d3b46fb72ab 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 1 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt index 596966d1439..bccd4475512 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 1 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt index 0404b07e610..a550a1f147b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 1 * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 2 * expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt index 88f2820f81f..7672b1182e9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: to define a character the unicode codepoint escaped symbol \u could be used with followed by exactly four hexadecimal digits. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt index 31ef7125e15..89ac5b8ad6b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: to define a character the unicode codepoint escaped symbol \u could be used with followed by exactly four hexadecimal digits. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt index 8ca237cbee3..ca6fc037ba7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: to define a character the unicode codepoint escaped symbol \u could be used with followed by exactly four hexadecimal digits. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt index 73611fa99c3..501a226f180 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 * expressions, constant-literals, character-literals -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: to define a character the unicode code point escaped symbol \u could be used with followed by exactly four hexadecimal digits diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt index f8c48c2fab6..4d6b0ad6678 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary integer literals with the prefix only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt index fc502f1fa74..599c67da8ec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary integer literals with the prefix only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt index abd2e77174e..6782b1ebc58 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Binary integer literals with an underscore after the prefix. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt index 250c8de1ca8..62bf2e5ce37 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Binary integer literals with an underscore after the prefix. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.2.kt index c4c66723df3..e058e061e83 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.2.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Binary integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt index aaef77210ed..b418f166951 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Binary integer literals with an underscore in the last position. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.kt index e4f05f212a3..4338e61fba5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Binary integer literals with an underscore in the last position. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.1.kt index de9b97dce93..3bbedc51d33 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.1.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.2.kt index 7dffe76e6e1..fb61c49e215 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.2.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.3.kt index d0f76d07595..e359503bf8a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/2.3.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt index b293b3261be..9157fe57da6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with the prefix only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt index 2e17b8be3a4..107e386b047 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with the prefix only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt index 4877b2fe3f4..e2881b51b85 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with an underscore after the prefix. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt index 2b543393cd8..0909210efe2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with an underscore after the prefix. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.2.kt index 443921243f1..3bb17af6be5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.2.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Hexadecimal integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.3.kt index d2202906477..fa635c35171 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.3.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Hexadecimal integer literals with an underscore in the first position (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt index 25bd81c92c8..e5556e53e20 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Hexadecimal integer literals with an underscore in the last position. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.kt index 4c5b7265bc2..2c15037296a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Hexadecimal integer literals with an underscore in the last position. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt index 6d4f8235c67..74e29981890 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals separeted by comments. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt index fe63b027ab1..b90e1722908 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals separeted by comments. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt index d28848df89f..d617bc1ac45 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Real literals suffixed by f/F (float suffix) separeted by comments. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt index a0fc6579cb5..5bd676a97d5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Real literals suffixed by f/F (float suffix) separeted by comments. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt index 3004d3741c9..9f79d5b276d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt index 8ad9c82e5d9..973c011052b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a many digits in a whole-number part and a fraction part (including conforms). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt index 54753c393b8..a95b1dc5531 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a many digits in a whole-number part and a fraction part (including conforms). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt index e6d84c778f5..913ca9da8ec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt index 897bdea9523..53c1cf252ed 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part (including conforms). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt index 36508745ac2..61b682b13d2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part (including conforms). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt index 3f0e7ec5d79..0178fb2682d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals without digits after an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt index dc5b3cfec36..4634aa19361 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals without digits after an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt index 3df6b0ec0c5..dfc0ff928a4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt index 017e4a93639..8c8fd4c9683 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt index 6f6629fd962..dde59740569 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt index 721d97dff97..761f4525468 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt index 4d56daa2afc..60e045c32c3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt index e23efe03213..8b418fdb479 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt index b172982b710..e0d7072eca2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt index 602614809fd..a8efe89f6d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt index 201f101f522..1b2d725e232 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt index b5d4a97ff51..b55dba310f0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt index f75b717d75b..11835370258 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt index 169f56a47c0..508aa17f3df 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt index e154b4e9d20..2702d53ff44 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt index 4c02691f1a3..16de6641931 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt index 16255e21edb..2e4a437b84a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt index a91329a19ff..63ab8cb48f2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt index 858b9f3363b..0f43c558751 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt index 2a4e3b7b515..b67487e8d83 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt index 11afc3d4444..0439f5979c8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt index 2bc317ffdc5..f6bdb610c66 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt index 2ca487a51d3..53438847a3d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals separeted by comments with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt index b56d8efde1c..4b018180b0e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt index 66bfd0f7409..c2197933e9d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt index 1f620b44da0..09feab65ab1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt index 5355d2ee181..87f69fd3969 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt index 9916126c0e5..bf9cabd769b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt index 0ea2499bcbe..d30930a18f8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt index cc44c890db4..51c5fe024b5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt index f79859b5c19..c0399ca5c48 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt index bf45b2a80da..74ebf4cd890 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt index 900e3e908d8..2ae50ec4f16 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals without digits after an exponent mark and with undescores in the different pisitions. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt index dee59798722..f17d5c7dcf3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals without digits after an exponent mark and with undescores in the different pisitions. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt index 0a9a5dd84f7..8f63ca26480 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with underscores at the end. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt index afdc706b705..c0876ea1613 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with underscores at the end. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt index 1eef271ae40..92bc4c5b75c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with underscores before an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.kt index 2632515bf2c..76cb470500d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with underscores before an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt index c33cf8db7d7..df2c7d5132d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with underscores after an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.kt index fd8c248f2cf..d17765633b9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with underscores after an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt index 2b89426fb17..00b08048741 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with underscores around an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.kt index b6b9225a6a0..3f50ab28de3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with underscores around an exponent mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt index 6cd743aadf3..f02f1059bdf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt index 70f34920679..bb5175993b0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt index 535a7ff1682..6b1b5383865 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt index 99c79b1c342..3e56f9d923e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt index f4bd20397af..68f2aa68abc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt index 8fa1ca29d8d..b78ecbeab73 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt index f8169c04bff..3ada161f99f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt index b1106c6d840..b7a617127c4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt index 507a65a04c8..c57daea199a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt index f7b0d99ec09..cbcebd690e2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt index 4c87ce5fc77..bbfac967046 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A type checking of a simple real literal (with/without underscores). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.kt index f292a07d956..bb477d0304c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A type checking of a simple real literal (with/without underscores). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt index 0c47daa9861..a7e6295faf0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 2 * DESCRIPTION: A type checking of a real literal with an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.kt index 0bc3fa63452..7a194c6e9ef 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 2 * DESCRIPTION: A type checking of a real literal with an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt index a041726b166..84298aa5c8d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 3 * DESCRIPTION: A type checking of a real literal with omitted a whole-number part. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.kt index 0290748e84a..489c631839d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 3 * DESCRIPTION: A type checking of a real literal with omitted a whole-number part. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt index 2775293e772..6d85f0f5722 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 4 * DESCRIPTION: A type checking of a real literal with omitted a whole-number part and an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.kt index e38c102d858..68daf54bd44 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 4 * DESCRIPTION: A type checking of a real literal with omitted a whole-number part and an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt index 9e488e1323b..3810348b81f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 5 * DESCRIPTION: A type checking of a real literal with omitted a fraction part and an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.kt index 626fe7113aa..707c334a002 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 * NUMBER: 5 * DESCRIPTION: A type checking of a real literal with omitted a fraction part and an exponent mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt index 20e8b8e4ca8..dfdbec5c256 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary and hexadecimal integer literals with a long literal mark only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt index e370d2c7fc6..d86db2996dd 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary and hexadecimal integer literals with a long literal mark only. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt index 2919e436d39..66f43a5277d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Various integer literals with a not allowed underscore before the long literal mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt index 32043d93b12..a9d62429247 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Various integer literals with a not allowed underscore before the long literal mark. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt index c2b8127c989..d28e9ea3346 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt index 88f2217a7da..f194986e646 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt index 11071288411..2e328bfe9d6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case (type checking). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.kt index 4bb068ed692..1ad3f0952a4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case (type checking). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt index 3b0f3d7aa93..3c698f0b6f3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals with long literal mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.kt index de22082a0b7..c96da67931e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals with long literal mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt index c205de2373a..6125e645fd2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.kt index be8552e8227..4e85c956cd5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt index 02016eee0be..9b1bc70c5c5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Type checking (comparison with invalid types) of too a big integers. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.kt index 29c3d332f47..159e40f6cb7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Type checking (comparison with invalid types) of too a big integers. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt index 6b51dd827d1..e37f7de6227 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: Check of integer type selection depends on the context (incopatible types). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt index 877d7bb9daa..f132c73f210 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: Check of integer type selection depends on the context (incopatible types). * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.1.kt index 69268483602..b70a7aa6163 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Type checking of various integer literals with long literal mark. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt index a89d828bec9..18acd1bac43 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Type checking of decimal integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.kt index 31ed0b80812..bf250e01cd8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Type checking of decimal integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt index c660cde8f03..dfe6c490064 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Type checking of hexadecimal integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.kt index 7b90dc79650..998fa47e375 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Type checking of hexadecimal integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt index 1dc078b8aa1..2ab9aab70b0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Type checking of binary integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.kt index 21ed2b491f9..97d2b7168ca 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Type checking of binary integer literals. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.5.kt index 76a694b9223..b40a4401362 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.5.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: Check of integer type selection depends on the context. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt index d783d0d0c92..8005c6387ce 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, elvis-operator-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, elvis-operator-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of elvis operator expression is the least upper bound of the non-nullable variant of the type of the left-hand side expression and the type of the right-hand side expression. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.kt index be997178bee..d98192d80f0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, elvis-operator-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, elvis-operator-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of elvis operator expression is the least upper bound of the non-nullable variant of the type of the left-hand side expression and the type of the right-hand side expression. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/p-3/pos/1.1.kt index d48c1515618..d212f0ba119 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/p-3/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: expressions, equality-expressions, value-equality-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, equality-expressions, value-equality-expressions -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: expressions, equality-expressions, value-equality-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Value equality expressions always have type kotlin.Boolean as does the equals method in kotlin.Any * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt index 31254c991ad..52308a2b987 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A break expression is a jump expression allowed only within loop bodies. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.kt index 9dd9551515f..07e51be8cec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A break expression is a jump expression allowed only within loop bodies. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt index d5e5857766f..dafb4700cc8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A continue expression is a jump expression allowed only within loop bodies. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.kt index bcc1e1739d5..d05bec1e66a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: A continue expression is a jump expression allowed only within loop bodies. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/p-2/pos/1.1.kt index df0bb09f87b..6850800ca72 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/p-2/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, jump-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, jump-expressions -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: check he type of jump expressions is the kotlin.Nothing */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt index aa9b92de8a0..44614ef5943 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt index 09d7e16c26c..c54ad56feba 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt index ac2a74da8ef..1971de35bd0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 4 -> sentence 1 + * MAIN LINK: 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/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt index c22e5e591b6..a26ab73d434 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, jump-expressions, return-expressions -> paragraph 4 -> sentence 1 + * MAIN LINK: 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/logical-conjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt index 92c00300789..528b4cfb302 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType 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 8e016e25a71..6bc631111a5 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt index 1ee9f6616e9..e795fb661cb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType 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 c3d5bb68cc2..ff0fb5c6946 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt index dfe294ea8f2..994bec9f968 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * 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. * HELPERS: checkType 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 ef869631206..bf506767638 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * 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. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt index f5d470f6958..30d98376b12 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION:Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType 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 695bff5192e..0ef0bb38967 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION:Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt index 8f047a779e9..2acb5f5d082 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, multiplicative-expression -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: expressions, multiplicative-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, multiplicative-expression -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The return type of these functions is not restricted. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.kt index 99f9005f637..a8eefb3bcd0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, multiplicative-expression -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: expressions, multiplicative-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, multiplicative-expression -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The return type of these functions is not restricted. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt index 73f680db746..093a446570c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If the type of e is non-nullable, not-null assertion expression e!! has no effect. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.kt index 4d74422eb40..d726eedb52d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If the type of e is non-nullable, not-null assertion expression e!! has no effect. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt index 691c62bd8da..3c52dfd752f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, not-null-assertion-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of non-null assertion e!! expression is the non-nullable variant of the type of e. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.kt index 451daf95b28..ecd7f65bb19 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, not-null-assertion-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of non-null assertion e!! expression is the non-nullable variant of the type of e. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/p-3/pos/1.1.kt index 726ab3f9c62..f4abf733b5f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/p-3/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, prefix-expressions, logical-not-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, logical-not-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: No additional restrictions apply for unary minus * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt index 98bf3404229..29f51b6762a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check unsafe prefix decrement expression call for an assignable expression */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt index 836bb760a9c..3f1ee483089 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check unsafe prefix decrement expression call for an assignable expression */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt index ef7d0cf1d4f..553313fb8f0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check as the result of dec is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.kt index 7cd95714259..cef5cc91cf9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check as the result of dec is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt index aa917314149..3d76897085e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check unsafe prefix increment expression call for an assignable expression */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt index 45c2d695908..4c9c5592894 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check unsafe prefix increment expression call for an assignable expression */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt index f7d32e5d2e4..e9974cb30ec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check as the result of inc is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.kt index fc4c87f9110..e56fbea41cf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: check as the result of inc is assigned to A, the return type of inc must be a subtype of A. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/p-3/pos/1.1.kt index 9c6f05db925..d0fbb89e27e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/p-3/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, prefix-expressions, unary-minus-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, unary-minus-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: No additional restrictions apply for unary minus * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/p-3/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/p-3/pos/1.1.kt index bd03e93a4b8..a2294f8ffa0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/p-3/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, prefix-expressions, unary-plus-expression -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, prefix-expressions, unary-plus-expression -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: No additional restrictions apply for unary plus * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt index 4e8609f0009..2fb0aa1e8b6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, range-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, range-expression -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, range-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, range-expression -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The return type of range operator is not restricted. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.kt index 2f17c17fc9f..0f3b00a2f24 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, range-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, range-expression -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, range-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, range-expression -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The return type of range operator is not restricted. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/1.1.kt index b68114887f9..d6752e3b8de 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE:expressions, try-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK:expressions, try-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt index 55019bd253b..847b5cf549a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body and continue with zero ore more catch blocks */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.kt index 2fb357432ce..946e723c59d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body and continue with zero ore more catch blocks */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt index abe731bb9af..c06f26f3a68 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 4 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 4 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body, catch blocks and finally block */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.kt index bca3f0b256d..bd3ed8645d3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 4 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 4 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body, catch blocks and finally block */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/5.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/5.1.kt index a06eb321d28..75bc089c765 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/5.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/5.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 5 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 5 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: A valid try-expression must have at least one catch or finally block. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt index d50a2ea1202..d9e58652f24 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE:expressions, try-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK:expressions, try-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * expressions, try-expression -> paragraph 1 -> sentence 5 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt index f45204df820..5deaeb67705 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE:expressions, try-expression -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK:expressions, try-expression -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * expressions, try-expression -> paragraph 1 -> sentence 5 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.1.kt index 4632355f36e..8aef5b14c94 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body and continue with zero ore more catch blocks */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.2.kt index 4a1bf31ef85..fc599e90f87 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 3 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 3 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: catch is a soft keyword */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.1.kt index 40ab4f70a43..27d50914291 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 4 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 4 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: try-expression has to start with a try body, catch blocks and finally block */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.2.kt index e61243d1b39..3b15cd11437 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 1 -> sentence 4 - * RELEVANT PLACES: expressions, try-expression -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 4 + * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: finally is a soft keyword */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt index b863b3b1bfd..e713773a109 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt @@ -5,8 +5,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.kt index ec3d9980c41..6fdb5aa2e97 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.kt @@ -5,8 +5,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 2 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt index f6f76b235a7..b6836d8548d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If no exception is thrown during the evaluation of the try body, no catch blocks are executed, the finally block is evaluated after the try body, and the program execution continues as normal. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.kt index c115925c78a..c174be4bba8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If no exception is thrown during the evaluation of the try body, no catch blocks are executed, the finally block is evaluated after the try body, and the program execution continues as normal. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt index 6d9fa884de1..808420132b9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.kt index d92e6cbcb6c..f0bfd5b7a66 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, try-expression -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt index 5f69d83e335..da0db3ff925 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, try-expression -> paragraph 8 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 9 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 8 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 9 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the try-expression is the least upper bound of the types of the last expressions of the try body and the last expressions of all the catch blocks */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.kt index 8d832ebe0f8..76419b66c4f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, try-expression -> paragraph 8 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 9 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 8 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 9 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the try-expression is the least upper bound of the types of the last expressions of the try body and the last expressions of all the catch blocks */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/pos/1.1.kt index 7b6b1994905..b4ea34bada7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, try-expression -> paragraph 8 -> sentence 1 - * RELEVANT PLACES: expressions, try-expression -> paragraph 9 -> sentence 1 + * MAIN LINK: expressions, try-expression -> paragraph 8 -> sentence 1 + * PRIMARY LINKS: expressions, try-expression -> paragraph 9 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The type of the try-expression is the least upper bound of the types of the last expressions of the try body and the last expressions of all the catch blocks * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/pos/2.1.kt index d6fed969ba6..2444c3a75bd 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-5/pos/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 5 -> sentence 2 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, containment-checking-expression -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Containment-checking expressions always have type kotlin.Boolean. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt index a5340b47cec..a0320e5b7ae 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 4 -> sentence 1 - * RELEVANT PLACES: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 4 -> sentence 1 + * PRIMARY LINKS: expressions, type-checking-and-containment-checking-expressions, type-checking-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Type-checking expression always has type kotlin.Boolean. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt index 743ae6b5ecb..72530faf632 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when, without bound value, without else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.kt index e6d4e146a27..ca615536179 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when, without bound value, without else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt index 69821c25095..86c0efb4fd5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Non-exhaustive when, with bound value, without else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.kt index c60b88a6b6e..6df980a3982 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Non-exhaustive when, with bound value, without else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt index adc3a72c8a6..c109bea6549 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using nullable boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.kt index 1fd29bec554..9a521653a8e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using nullable boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt index 9ceef86b917..778804b2d4d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 2 * DESCRIPTION: Non-exhaustive when using subclasses of the nullable sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.kt index b92cb87e6b7..1ab61dee72a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 2 * DESCRIPTION: Non-exhaustive when using subclasses of the nullable sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt index 6a23db1904d..0618ae63d61 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 3 * DESCRIPTION: Non-exhaustive when using nullable enum values. * HELPERS: enumClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.kt index 6e46d5a96ce..24bcc94fac8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 3 * DESCRIPTION: Non-exhaustive when using nullable enum values. * HELPERS: enumClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt index 9e48dd51309..3ac54a4cfc0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.kt index 4be723494a7..31e7ae51243 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt index 0cb4e8c5de8..27414b3ca23 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using subclasses of the sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.kt index b2e1d861427..c172a38e045 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 * NUMBER: 1 * DESCRIPTION: Non-exhaustive when using subclasses of the sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.1.kt index ed673a253bf..103ad387f99 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Exhaustive when, without bound value, with else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.2.kt index fff8bb23343..e2bdde4cbd9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.2.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Exhaustive when, with bound value, with else branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt index 745a7145b57..1510c307778 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Exhaustive when, with bound value (sealed, enum, boolean), with redundant else branch. * HELPERS: enumClasses, sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.kt index 028b969885b..446805941af 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Exhaustive when, with bound value (sealed, enum, boolean), with redundant else branch. * HELPERS: enumClasses, sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.1.kt index 056f5501f08..0480b878afe 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: Exhaustive when using nullable boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt index 8994fc26f28..622a1dff488 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 2 * DESCRIPTION: Exhaustive when using nullable enum values. * HELPERS: enumClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.kt index 467ee83e5bb..11a3fe69227 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 2 * DESCRIPTION: Exhaustive when using nullable enum values. * HELPERS: enumClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt index fda8fb8fa9f..fa2533e538a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 3 * DESCRIPTION: Exhaustive when using subclasses of the nullable sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.kt index 32cfc5f2e84..736b2658b44 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 * NUMBER: 3 * DESCRIPTION: Exhaustive when using subclasses of the nullable sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/3.1.kt index 8c7ea6e2c68..33c447aaad3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/3.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Exhaustive when using boolean values. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt index ef8e28806ab..1e636fd23a3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 * NUMBER: 1 * DESCRIPTION: Exhaustive when using subclasses of the sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.kt index 063425dd808..5965fdddd65 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 * NUMBER: 1 * DESCRIPTION: Exhaustive when using subclasses of the sealed class. * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/8.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/8.1.kt index 0ee02362d98..49c20b13b03 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/8.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/8.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 8 + * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 8 * NUMBER: 1 * DESCRIPTION: Exhaustive when using enum values. * HELPERS: enumClasses 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 0c51a029f4e..0061f2050a4 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 @@ -452,6 +452,13 @@ "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", "unexpectedBehaviour": false }, + { + "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", "casesNumber": 0, @@ -520,6 +527,13 @@ "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Branch false bypass", + "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -598,6 +612,15 @@ "unexpectedBehaviour": false } ], + "923": [ + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive platform enum statement", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", + "unexpectedBehaviour": false + } + ], "4": [ { "specVersion": "0.1-152", @@ -663,6 +686,13 @@ "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Branch bypass val", + "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -691,6 +721,13 @@ "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Branch bypass var", + "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt index 36cb347f999..a8ab9841c33 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Empty when with bound value. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.kt index 641f8990a85..01e92c46cf2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Empty when with bound value. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.2.kt index 53099d541c3..7d7441d11a8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Empty when without bound value. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt index 7de1a624ad9..1f1129bc94d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: When with non-boolean value in the when condition. * HELPERS: typesProvider diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.kt index 6f33f804c59..3878c3c69af 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: When with non-boolean value in the when condition. * HELPERS: typesProvider diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt index 927de327d6b..859bfb9e8f6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: When without bound value, forbidden comma in the when condition. * HELPERS: typesProvider, classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.kt index ecec1ce41df..0230f016946 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: When without bound value, forbidden comma in the when condition. * HELPERS: typesProvider, classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt index 5cbc6414c4c..d5b3590e139 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: When without bound value, various expressions in the control structure body. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.kt index 0dbda849b22..009ac9d7618 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: When without bound value, various expressions in the control structure body. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt index 83964f37908..b41828127b7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Allowed break and continue in the control structure body of when. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.kt index a845e9d78c6..d01576ff07b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Allowed break and continue in the control structure body of when. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt index b77ce1b88f3..70440045f54 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: When without bound value, various boolean values in the when condition. * HELPERS: typesProvider, enumClasses, sealedClasses, classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.kt index 565732345d3..2647f5bfff6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: When without bound value, various boolean values in the when condition. * HELPERS: typesProvider, enumClasses, sealedClasses, classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.2.kt index f8c13c5798b..046baae0c28 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: 'When' without bound value and only one 'else' branch. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt index ee1d7a39009..cc335673230 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 3 * DESCRIPTION: 'When' without bound value and with Nothing in condition (subtype of Boolean). * DISCUSSION diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.kt index dcdc99d37a3..0ba51fe99e1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 3 * DESCRIPTION: 'When' without bound value and with Nothing in condition (subtype of Boolean). * DISCUSSION diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt index 3928ab279ef..e25382695c3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, when-expression -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 3 -> sentence 2 * 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/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.kt index b96552ab7b8..a0ddbf3f07f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-218 - * PLACE: expressions, when-expression -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 3 -> sentence 2 * 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/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt index 42aea0b7a0e..a1b04c1f3f6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.kt index 78a1451f9c1..c1deb6459e0 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 @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt index acd3b7ff566..ea59873f4e1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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 ed1db401716..da6553398ef 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 @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 4 -> sentence 1 + * MAIN LINK: 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.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt index 9a9dc749ac1..e0a0e41db07 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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. * HELPERS: typesProvider, classes, functions 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 61840798d07..4d7b5add6cb 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 @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt index 0be09e9d89e..62dbba523d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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-5/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.kt index 5564d292f71..ca4a039c5b8 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 @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt index 167a553e5a3..190cfe692a5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and type test condition (without companion object in classes), but without type checking operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.kt index 00734aacc2c..92972e18420 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and type test condition (without companion object in classes), but without type checking operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt index c509e110fd1..9445ac38982 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and type test condition on the non-type operand of the type checking operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.kt index 12b16cbadf7..f32dd56e79c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and type test condition on the non-type operand of the type checking operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt index 0e9ff12b0b8..d0ae90fe6d6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 11 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and non-expressions in 'when condition'. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.kt index 351fe982833..c02b5e2e9e6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 11 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and non-expressions in 'when condition'. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt index adcead71bcc..1ea6ae5d466 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 12 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 12 * NUMBER: 1 * DESCRIPTION: 'When' without 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/neg/12.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.kt index be387d634f5..2c6b35e643c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 12 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 12 * NUMBER: 1 * DESCRIPTION: 'When' without 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/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt index e4239423538..f1c052b8193 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and 'when condition' with range expression, but without containment checking operator. * HELPERS: typesProvider diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.kt index 127176ed15d..1fb5a21d30b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and 'when condition' with range expression, but without containment checking operator. * HELPERS: typesProvider diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt index e349394c65f..a8be35ecac5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and 'when condition' with contains operator and type without defined contains operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.kt index cb872a93cec..4c7af495269 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and 'when condition' with contains operator and type without defined contains operator. * HELPERS: classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt index c0e7ab72e01..a64de8fcb7d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 7 + * MAIN LINK: 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/neg/7.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.kt index d0917db22d1..b6489484096 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 @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 7 + * MAIN LINK: 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/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt index 2711087ec7a..6389bce911d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and type test condition. * HELPERS: classes, objects diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.kt index fcddc40a9f1..97d55d93bf0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and type test condition. * HELPERS: classes, objects diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt index d53ca23ab15..fa31a12e489 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and type test condition (invert type checking operator). * HELPERS: classes, sealedClasses, objects diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.kt index e0edb793ff3..4dff73eb9f7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and type test condition (invert type checking operator). * HELPERS: classes, sealedClasses, objects diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.3.kt index f616b14a7ed..05be0d2e097 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.3.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 3 * DESCRIPTION: 'When' with bound value and enumaration of type test conditions. * HELPERS: classes, sealedClasses, objects diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt index 82f9507748d..7ffc2c37917 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 4 * DESCRIPTION: 'When' with bound value and enumaration of type test conditions (with invert type checking operator). * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.kt index 4f257345d29..cc925ad5729 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 4 * DESCRIPTION: 'When' with bound value and enumaration of type test conditions (with invert type checking operator). * HELPERS: sealedClasses diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt index 73cc41c1c28..c9d06443a8a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 10 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 * NUMBER: 1 * DESCRIPTION: 'When' with enumeration of the different variants of expressions in 'when condition'. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.kt index 3023fdc76e7..845fb77aa59 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 10 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 * NUMBER: 1 * DESCRIPTION: 'When' with enumeration of the different variants of expressions in 'when condition'. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt index e704e80e78c..bf6d3de9aec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 10 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 * NUMBER: 2 * DESCRIPTION: 'When' with different variants of the arithmetic expressions (additive expression and multiplicative expression) in 'when condition'. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.kt index 0f19893e2d2..216487c3a7e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 10 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 * NUMBER: 2 * DESCRIPTION: 'When' with different variants of the arithmetic expressions (additive expression and multiplicative expression) in 'when condition'. * HELPERS: typesProvider, classes, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt index 93101ec743e..4b2a4e1b0fc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 11 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and not allowed break and continue expression (without labels) in 'when condition'. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.kt index 08623a2d5fa..29a7a77304c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.kt @@ -4,7 +4,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 11 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and not allowed break and continue expression (without labels) in 'when condition'. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/12.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/12.1.kt index bdbe6142461..d8d14301beb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/12.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/12.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 12 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 12 * NUMBER: 1 * DESCRIPTION: 'When' without bound value and with else branch in the last position. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.1.kt index 2b8ae387db6..3d5e785ffa7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.1.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and containment operator. * HELPERS: typesProvider, classes diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.2.kt index 920cd24565f..856849b50fb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/3.2.kt @@ -5,7 +5,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and enumeration of the containment operators. * HELPERS: typesProvider, classes 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 1de1ea84613..8812f4da0f5 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 @@ -3,7 +3,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 7 + * MAIN LINK: 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 11bca87807e..f19f8f8eb57 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 @@ -414,6 +414,13 @@ "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "When and lambda with expected type", + "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -421,6 +428,20 @@ "path": "compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Reserved exhaustive when", + "path": "compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "When with nothing and lambdas", + "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -430,6 +451,13 @@ } ], "5": [ + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "When", + "path": "compiler/testData/diagnostics/tests/when/When.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -480,6 +508,13 @@ "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Kt10811", + "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -487,6 +522,20 @@ "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Kt9972", + "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", + "unexpectedBehaviour": false + }, + { + "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-313", "casesNumber": 0, @@ -551,6 +600,13 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive platform enum else", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -565,6 +621,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive with nullability check before", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive with nullability check else", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -579,6 +649,20 @@ "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Kt4434", + "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Duplicated labels", + "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -600,6 +684,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive platform enum statement", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive platform enum", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -621,6 +719,13 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive nullable", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -635,6 +740,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive initialization", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive with nullability check", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -649,6 +768,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive with nullability check boolean", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive platform enum annotated", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -663,6 +796,20 @@ "path": "compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else when statement", + "path": "compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Kt10809", + "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -677,6 +824,13 @@ "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Kt10439", + "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -684,6 +838,20 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive boolean nullable", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive no initialization", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -698,6 +866,13 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive return throw", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -705,6 +880,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive return", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive platform enum null", + "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -723,6 +912,20 @@ "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "When type disjunctions", + "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive boolean nullable", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -737,6 +940,13 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive warning null", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -744,6 +954,20 @@ "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else returned unit", + "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else expected unit", + "path": "compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -765,6 +989,13 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive warning", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -772,6 +1003,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive val over conditional init", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive boolean brackets", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -793,6 +1038,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive boolean complex", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else returned coercion to unit", + "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -807,6 +1066,20 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive warning false", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive warning for sealed class", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -828,6 +1101,13 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive boolean", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -842,6 +1122,20 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive platform enum", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else returned from lambda expected int", + "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -856,6 +1150,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Exhaustive var over conditional init", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", + "unexpectedBehaviour": false + }, + { + "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-313", "casesNumber": 0, @@ -870,6 +1178,13 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive enum mixed", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -877,6 +1192,20 @@ "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Empty condition with expression", + "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Property not initialized", + "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -891,6 +1220,13 @@ "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive warning else", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -898,6 +1234,20 @@ "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Redundant else", + "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Non exhaustive with nullability check", + "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -912,6 +1262,20 @@ "path": "compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else no expected type", + "path": "compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive enum is", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -926,6 +1290,13 @@ "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "No else returned non unit", + "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -933,6 +1304,20 @@ "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Exhaustive break continue", + "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-152", + "casesNumber": 0, + "description": "Top level sealed", + "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-152", "casesNumber": 0, @@ -947,6 +1332,20 @@ "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", "unexpectedBehaviour": false }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Else on nullable enum", + "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Else on nullable enum with smart cast", + "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, @@ -960,6 +1359,13 @@ "9": { "pos": { "2": [ + { + "specVersion": "0.1-313", + "casesNumber": 0, + "description": "Annotated when statement", + "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-313", "casesNumber": 0, diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt index ab54137cec5..c5355ef4acb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 * overload-resolution, receivers -> paragraph 7 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.kt index 61ed44734da..3344071585c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 * overload-resolution, receivers -> paragraph 7 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.2.kt index b8807f36514..b791a4ee4e2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 * overload-resolution, receivers -> paragraph 7 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.3.kt index ff34646da58..b88f02c4fd6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.3.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 * NUMBER: 3 * DESCRIPTION: The sets of non-extension member callables named f of type T; diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.4.kt index 32d94d8cb05..6d8396546cc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.4.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * 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/call-with-an-explicit-receiver/p-6/pos/1.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.5.kt index 4913d36d665..20318ae4a4b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.5.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * 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/call-with-an-explicit-receiver/p-6/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.1.kt index 44c1f0c902f..ea1ff371034 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt index 2696cf3b014..08d728ad25b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt @@ -5,8 +5,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.kt index 1931d027d75..f696c8c0ae3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.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, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.3.kt index 2977ebe3fc6..706944d3186 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.3.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt index e84eb3f1b62..a1cec62fde8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.kt index 36686500de1..0a2b98a2a97 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/3.1.kt index 70c51e33e08..98ec51c13b8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/3.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE:overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK:overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.1.kt index a7d66a504d2..3c9df8602a4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 9 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 9 -> sentence 1 * NUMBER: 1 * DESCRIPTION: sets of extension callables declared in the package scope */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.2.kt index 5405d0b4806..f3ca0669019 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/4.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 * NUMBER: 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/5.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/5.1.kt index 3499bfc62eb..175c8cfa365 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/5.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/5.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: set of star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/6.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/6.1.kt index 1498a3af88f..9091dc85232 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/6.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/6.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 6 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 6 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 * NUMBER: 1 * DESCRIPTION: set of implicitly-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt index 942f6e93786..33151b204db 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt index e89e2c7bc96..a68debe2dfb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt index b8793eaf03e..d8d8935f62f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 10 * DESCRIPTION: Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file; diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt index 479fa3be1fa..1b9ef9687cb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 11 * DESCRIPTION: Explicit receiver: Top-level non-extension functions: Implicitly imported callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt index 2b5429eab9b..153e5dad911 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 12 * DESCRIPTION: Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt index 161b12bdcc9..a28c8f6f757 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 13 * DESCRIPTION: Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt index 9486694ba65..b284ef6671c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 14 * DESCRIPTION: Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt index c6aeef390c0..638968cb1eb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 15 * DESCRIPTION: Explicit receiver: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt index db57f652128..1e743cbb75c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 16 * DESCRIPTION: Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.2.kt index d4c81cfdb08..7b8ab27eb81 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.3.kt index da59e6a0c17..bc32926ceb8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.3.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.4.kt index cf8a5a697de..81da5cb79e4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.4.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Implicit receiver: sets of declared in the package scope and star-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.5.kt index bbc70d603a8..3e6a5dcc249 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.5.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Implicit receiver: set of star-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.6.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.6.kt index bccf9486be1..f324db33523 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.6.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.6.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Implicit receiver: set of implicitly-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.7.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.7.kt index fe568422f09..551d9c22cd0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.7.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.7.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * NUMBER: 7 * DESCRIPTION: Implicit receiver: set of implicitly-imported extension callables */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt index 1905b712e81..4ada0f5cd17 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 8 * DESCRIPTION: Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt index e44a13cf434..9ee8e0236ca 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-280 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 9 * DESCRIPTION: Explicit receiver: Top-level non-extension functions: Callables declared in the same package diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/p-2/pos/1.1.kt index 50f96b3a611..8c2fbb4bc7f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/p-2/pos/1.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-312 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: filtering is done before selection of the overload candidate set is perfomed */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt index 9c0fba9f1ad..d60a2d6aca0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.kt index e6cdad86959..0e299255137 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.10.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.10.kt index e7335de350f..1a20cd623a5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.10.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.10.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 10 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file; diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.11.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.11.kt index afda6fe8616..6b05b91b7f0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.11.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.11.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 11 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Implicitly imported callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.12.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.12.kt index 7f0004327a0..1c27cb5b15a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.12.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.12.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 12 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.13.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.13.kt index 50287a661f8..d1c9e6f59e3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.13.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.13.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 13 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.14.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.14.kt index f13446005f5..6b60f120725 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.14.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.14.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 14 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.15.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.15.kt index 343ed319907..db8edb5c363 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.15.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.15.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 15 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.16.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.16.kt index 62c1e06a2ee..0700c439313 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.16.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.16.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 16 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt index 5b38df53f08..749f7838b66 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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 * NUMBER: 17 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.kt index 51839c6f20e..60c1f780d30 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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 * NUMBER: 17 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.18.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.18.kt index 94c9497dca2..371811e254a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.18.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.18.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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/call-with-trailing-lambda-expressions/p-1/pos/2.19.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.19.kt index c3779066d54..3d11ccc6a23 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.19.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.19.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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/call-with-trailing-lambda-expressions/p-1/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.2.kt index 6c5556a4239..a826a8d2c36 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.20.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.20.kt index 7ffea348a01..27fe2e46b48 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.20.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.20.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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/call-with-trailing-lambda-expressions/p-1/pos/2.21.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.21.kt index 69a3e1b2e11..76da4ea2fd0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.21.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.21.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: 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/call-with-trailing-lambda-expressions/p-1/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.3.kt index 068f9516f92..b83175e923a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.3.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.4.kt index 920ce97e804..b826b05923d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.4.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: sets of declared in the package scope and star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.5.kt index 85dbfa4f9af..8da0fb3d2eb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.5.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 5 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: set of star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.6.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.6.kt index 63fbedceecb..bf31cfd8aa1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.6.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.6.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 6 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.7.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.7.kt index 65ca5dc5247..dc1a357fd20 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.7.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.7.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 7 * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.8.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.8.kt index 72af9ddc599..1f29fa8d28a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.8.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.8.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 8 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.9.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.9.kt index 0b98f84e2bc..9f88f7bf47e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.9.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.9.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-300 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 * NUMBER: 9 * DESCRIPTION: call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables declared in the same package diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt index fd95c77e2a0..b748922bac5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.kt index e6d191a4993..cc0d0ff67a1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt index c53adee97d5..741c8478070 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.kt index 9969296203b..f01f0c35823 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt index 7d916d0840f..03fd0c602c0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.kt index aa2f996741d..2bb904e7da2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.1.kt index 8a0a5b18e0b..865c42e9c75 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.2.kt index 86595a2ba7d..502b02bba18 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.2.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.3.kt index c46222cc8e9..69aefaf7e61 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.3.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.4.kt index 9a4a3c7eaa1..dbcef3e4a3e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.4.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.5.kt index ec00f4e0129..e2feea8382d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/2.5.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/4.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/4.1.kt index b108672ca38..658b3899f66 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/4.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/4.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 4 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 4 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/5.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/5.1.kt index 30ca9b1976e..7fd8435a2a6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/5.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/5.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 5 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 5 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/6.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/6.1.kt index d1d8a03a879..4f25097cca8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/6.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/6.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 6 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 6 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/7.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/7.1.kt index 70da2086745..a52af9bf640 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/7.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/pos/7.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 7 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 7 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> 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/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt index ef84dfc96f4..4129e3a0023 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * NUMBER: 1 * DESCRIPTION: Implicitly imported extension callable without infix modifier 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 84497e83f7a..a946fda0c88 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * NUMBER: 1 * DESCRIPTION: Implicitly imported extension callable without infix modifier 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.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt index d2443c82372..bf4bd840f7b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * 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/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 1974d7f2614..3a536ea8664 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * 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/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt index b384e35de99..f4d65e1dfbf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * 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/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 fc3a60bc2ab..cb319355844 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * 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/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt index 04d0c971fab..b891bd3efe3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * NUMBER: 4 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 144dd3cc72b..b643769b938 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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: 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 * NUMBER: 4 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt index cc560249e4e..bf041f448ce 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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 * NUMBER: 5 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.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 index a732549a820..21513bc8244 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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 * NUMBER: 5 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt index 6d91d922633..958cc7b606c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 index b8f5e0ac2f2..b6b8de03f7d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 index 04121aa6025..4b49ba5f794 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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/4.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt index 3577a6d1824..6ece7715acf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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/4.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 index ac54db57c8b..080a34a8faf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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/4.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 index 92dade8c74e..d921c7a0df0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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/4.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 index f33ff43b3dc..7e0b7beb64f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.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 @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * 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 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 + * PRIMARY LINKS: 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/operator-call/p-2/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt index 7046cf28cd0..85e64aa9179 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Non-extension member callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt index fce76b90335..94f2016696f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Non-extension member callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt index 6df6bf648ce..61d4af30b45 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Non-extension member callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt index 05c65523184..8a5ee63ccff 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Explicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt index 4d294077b56..74ba40ea5ad 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Explicitly imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt index 2858556f3e8..d0b1c2751d0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Extension callables declared in the package scope diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt index 9cf252be042..7d4f72790b0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Extension callables declared in the package scope diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt index aa3ecb2f936..1fa70669076 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt index 4414bf2f472..337983bf924 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt index 316c97fff80..f34c9934d08 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt index 5dbd1aa9479..040546eafb2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Star-imported extension callables diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt index 57a0841daab..8b66200e6ee 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.kt index 6f6d35d2707..778014d510d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt index 63b7ecbb34f..0cc3e82a951 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.kt index 0ab60ee8555..0cffd5598cc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/10.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/10.1.kt index 7544296dc8f..a360b7cbbb5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/10.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/10.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: An enum entry named foo at its declaration site prio */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt index 49cdf520fa3..e45ac055048 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 8 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 9 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 8 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 9 * overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: A companion object of a classifier type named foo at its declaration site diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/9.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/9.1.kt index 1ce49388455..cc38ad1ce95 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/9.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/9.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 9 - * RELEVANT PLACES: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 + * MAIN LINK: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 9 + * PRIMARY LINKS: overload-resolution, callables-and-invoke-convention -> paragraph 2 -> sentence 10 * NUMBER: 1 * DESCRIPTION: An enum entry named foo at its declaration site prio */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt index 3daba887725..bf713895f90 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 2 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 1 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 2 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The implicit this receiver has higher priority than phantom static implicit this diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt index 63ab3db7137..0d247c1b2b1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 3 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 1 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 3 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The phantom static implicit this receiver has higher priority than the current class companion object receiver diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt index d628d7b5bbc..55dd0b6e4c6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 3 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 1 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 3 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The phantom static implicit this receiver has higher priority than the current class companion object receiver diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt index f0b05bc3c2f..63049de3959 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 5 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 4 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 5 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Superclass companion object receivers are prioritized according to the inheritance order diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt index 818dac4d22d..4110e134aa5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-278 - * PLACE: overload-resolution, receivers -> paragraph 5 -> sentence 5 - * RELEVANT PLACES: overload-resolution, receivers -> paragraph 5 -> sentence 4 + * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 5 + * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 4 * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Superclass companion object receivers are prioritized according to the inheritance order diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt index 85aeccb3069..ca115ccd8d3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt index 810e072686b..f344c3c3af5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt index 98d85827493..5409cc80409 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 + * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 * NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt index 0dad1d40481..9ae1cc1e881 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 1 -> sentence 2 + * MAIN LINK: statements, assignments -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both left-hand and right-hand sides of an assignment must be expressions */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.kt index f90abccc572..99f59139fa9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 1 -> sentence 2 + * MAIN LINK: statements, assignments -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Both left-hand and right-hand sides of an assignment must be expressions */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt index 9c66025d72f..56c0016332f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 1 + * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 1 * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Check the expression is not assignable if an identifier referring to an unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt index e9266f147aa..ef40ff5a054 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 1 + * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 1 * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Check the expression is not assignable if an identifier referring to an unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt index 2a34f7e3e1b..881e0500c22 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Check the expression is not assignable if a navigation expression referring to an unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt index b6c1dc12594..b75b4f3c011 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-222 - * PLACE: statements, assignments -> paragraph 2 -> sentence 1 - * RELEVANT PLACES: statements, assignments -> paragraph 3 -> sentence 2 + * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 + * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Check the expression is not assignable if a navigation expression referring to an unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt index 67b52946fdb..c00afece0ad 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 + * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 * statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: do-while-loop statement body contains zero statements diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt index 7f1f5cc840f..783d9b22b5a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 + * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt index 6692374bfb4..74d6a7fcb2b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 + * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt index 24c014f2996..0e0a0098a4d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 + * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: while-loop statement body contains zero statements */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt index 1699ace6181..2a808dace3b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 + * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt index eaf401084d9..5b5399265bf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-253 - * PLACE: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 - * RELEVANT PLACES: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 + * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 + * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt index d99c80f3ce9..8dccc0fdec4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-268 - * PLACE: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: smart case for property `plus` available through the operator invoke diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt index 632a9e4d203..0f14cff42a9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-268 - * PLACE: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 + * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: smart case for property `plus` available through the operator invoke diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt index 84e69888912..e205a72d9e4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 1 -> sentence 1 + * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: smart cast for the property available through the operator invoke diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt index c0bda02ddbd..0a1bbc13cb5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-268 - * PLACE: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 1 -> sentence 1 + * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 + * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 1 -> sentence 1 * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: smart cast for the property available through the operator invoke diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt index a7279a1bb28..6e5e5b97c84 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.kt index 6b87015e592..971da25aaea 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt index acd3ec43365..a5281dfa552 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 2 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.kt index ea7fcdb8674..aff2d8d4aa5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 2 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt index 7d1a3f695b5..af559e5f4f8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 3 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.kt index c44024c704c..753826d60ed 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 6 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 * NUMBER: 3 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. */ diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt index eabdd76c4bb..04a263562d6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: type-system, introduction-1 -> paragraph 8 -> sentence 1 - * RELEVANT PLACES: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 + * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 1 + * PRIMARY LINKS: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.kt index a3e354c9595..95b5e697557 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: type-system, introduction-1 -> paragraph 8 -> sentence 1 - * RELEVANT PLACES: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 + * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 1 + * PRIMARY LINKS: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt index ce185564a5f..02550e8bfad 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 8 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.kt index 8aa18961c2c..107a436049f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: type-system, introduction-1 -> paragraph 8 -> sentence 2 + * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 2 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.1.kt index e8fcb4c1a0a..135a8032dd8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.1.kt @@ -7,8 +7,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: type-system, introduction-1 -> paragraph 7 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: type-system, introduction-1 -> paragraph 7 -> sentence 1 * NUMBER: 1 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt index 32d69e115af..b73a74a6971 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: type-system, introduction-1 -> paragraph 7 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: type-system, introduction-1 -> paragraph 7 -> sentence 1 * NUMBER: 2 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.kt index 62e0588bf3e..2870ee22aa2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.kt @@ -6,8 +6,8 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 - * PLACE: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 - * RELEVANT PLACES: type-system, introduction-1 -> paragraph 7 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 + * PRIMARY LINKS: type-system, introduction-1 -> paragraph 7 -> sentence 1 * NUMBER: 2 * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/testsMap.json index c7f9deaa67c..d4d94d91712 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/testsMap.json @@ -2,6 +2,18 @@ "1": { "pos": { "1": [ + { + "specVersion": "0.1-296", + "casesNumber": 11, + "description": "The use of Boolean literals as the identifier (with backtick) in the class.", + "unexpectedBehaviour": false + }, + { + "specVersion": "0.1-296", + "casesNumber": 9, + "description": "The use of Boolean literals as the identifier (with backtick) in the class.", + "unexpectedBehaviour": false + }, { "specVersion": "0.1-296", "casesNumber": 13, diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt index d616953c7f1..39f8897a52c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Check of Nothing type * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.kt index 6c6c8ac74a1..83220743b3c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.kt @@ -6,7 +6,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Check of Nothing type * HELPERS: checkType diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt index 22e2fbdcb3c..601708a5ec9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/1.1.kt @@ -8,7 +8,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Check of Nothing type is a subtype of any types * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/2.1.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/2.1.kt index f1ebae66c95..9370f556da1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/pos/2.1.kt @@ -7,7 +7,7 @@ * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-213 - * PLACE: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 + * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Check of Nothing as a subtype of any type * HELPERS: checkType, functions diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt index 9af36bb6564..a61b773c0b3 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary integer literals with invalid or double prefixes. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.2.kt index c32d8984b52..7a397d0686a 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Binary integer literals with not allowed symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt index ba4cf36bf06..7f80652a13d 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Binary integer literals with underscore breaking the prefix (in it). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt index 12a8aebfcc3..abba5467743 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Binary integer literals with valid digit symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.2.kt index bce2b2d874c..fb4ab488193 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Binary integer literals with invalid [2-9] digit symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.3.kt index 17276ffba29..2e34db13b39 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Binary integer literals with prefix only (without digit symbols). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt index 2b6d991aa93..e232a663874 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Binary integer literals with underscore symbols in valid places. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.2.kt index 712caf55927..2022a73bad1 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Binary integer literals with underscore symbols after binary prefix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.3.kt index e62e249952b..5876626f5d0 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Binary integer literals with underscore symbol after the last digit. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.4.kt index 887cf761f4f..cc85c76cc65 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/pos/2.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Binary integer literals with underscore symbol before the first digit (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/1.1.kt index 9ba856dae1a..804f9cf2172 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Sequences with not all decimal digit symbols */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt index 3ca95ec1100..3e2a4ea71f5 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Sequences with decimal digit symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt index 8820ed678f9..5c8cf18b20b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Integers with underscore symbols in the valid places. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.2.kt index 83ed8f7144f..2d35fd9ad06 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Integers with underscore symbol in the last position. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.3.kt index bd2a7ab91c4..22302037f8b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/p-1/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Integers with underscore symbols before the first digit (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt index 1987b0b1ba2..b5f6037d19c 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with invalid or double prefixes. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.2.kt index 8f7e1082d50..b0976bf2b74 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Hexadecimal integer literals with not allowed symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt index 377f0dea01c..f9f1baebac1 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with underscore breaking the prefix (in it). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt index 0afce4897f9..f826a6f9f57 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with valid symbols. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.2.kt index 16018bfb7b3..c514d82da9d 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Hexadecimal integer literals with prefix only (without digit symbols). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt index c1f2af731c1..97bbd3f39d1 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Hexadecimal integer literals with underscore symbols in valid places. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.2.kt index 18a1021fd64..42ec23a13c4 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Hexadecimal integer literals with underscore symbols after hexadecimal prefix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.3.kt index b491b2f4333..d1a72870844 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Hexadecimal integer literals with underscore symbol after the last digit. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.4.kt index d017f4e9b9b..1a423c9b9a6 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/pos/2.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Hexadecimal integer literals with underscore symbol before the first digit (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt index 2dddbacf1f3..4b5886e64e0 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with not allowed several dots. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.2.kt index ff30c0474ca..222d5c9c2e2 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with not allowed symbols as a separator of a whole-number part and a fraction part. * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.3.kt index da55f5051d3..b487770d51d 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals separeted by comments. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.1.kt index 2f9519b9376..73d9900011e 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Not allowed hexadecimal real literals. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.2.kt index 9fedb2ebaa8..b191d5b4afb 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Not allowed binary real literals. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.3.kt index 206c9700c40..841e97d2ec9 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Not allowed real literals with a whole-number part as a hexadecimal number and a fraction part as a binary number (or vice versa). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt index 168c2075074..75fd62aaf67 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: A float suffix in the real literals right after a dot. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.2.kt index 7cb63883dd7..e4fae620248 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: A float suffix in the real literals right after a several dots (possibly separated by digits). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.3.kt index 74eee6ca2d4..d7a522c7202 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/neg/3.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 3 * DESCRIPTION: Real literals with a float suffix and not allowed symbols as a separator of a whole-number part and a fraction part. * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt index 626210c853b..a8c381de462 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt index ae9fdbe7ca2..f3e120da15a 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a many digits in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt index cbab414f1d6..81f80f54876 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt index 4fab786e97a..bcecc0c9716 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt index f76b975279b..374aef087ea 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with not allowed several exponent marks. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt index d9404bd22a4..7ad7181e063 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (the float suffix) with not allowed several exponent marks. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt index ad83c4b1812..9349ed40c8b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals with a not allowed exponent mark with digits followed by a float suffix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt index 29c5e1d70e3..166d619244f 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with a not allowed digits and exponent mark followed by a float suffix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt index 7e1e7218533..f8b6c127f74 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt index b411fc39aa1..e34bf74aa67 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.3.kt index f213b32722d..7417fb40a4b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals without digits after an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.4.kt index 7e23b6af145..8221bf73224 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Simple real literals suffixed by f/F (float suffix) with an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.5.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.5.kt index d9ffc061a1e..c6bb3e100c6 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.5.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.6.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.6.kt index 1f7a37c6547..054f5c70cea 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.6.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-2/pos/1.6.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt index c4a9c6a6d76..63ba4f8258d 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals consisting only of dots or many dots before digits. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt index 7239c0713cf..c3ad92cf9d5 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with dots at the beginning and exponent mark/float suffix right after it. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.3.kt index e1f8a3d86f8..6524eb62954 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted whole-number part and not allowed several exponent marks. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.4.kt index f7006c2930f..e034a0d86df 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with omitted whole-number part and an exponent mark followed by a float suffix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.5.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.5.kt index 6b63b590d24..fad2ffa195f 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.5.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals with omitted whole-number part and an exponent mark followed by a float suffix and digits. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt index ef579346729..4c1efe268cc 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with omitted fraction part and digits followed by a float suffix. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/3.1.kt index 43d75dc09d7..b130c95a866 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 3 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Real literals with a not allowed dot at the end. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt index 16a59683ed7..7a74ed09799 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt index d210a5d6be9..fd2693bb94f 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt index 53632cae973..e6e12acab15 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt index 0857403ccde..9c923a88247 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Simple real literals suffixed by f/F (float suffix) with omitted a whole-number part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt index fd483fb5f64..a2d7774487b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.6.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.6.kt index 711fa607b64..d102a91c3a3 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.6.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/1.6.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt index 1bdaaeb2920..c48bd128dcb 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt index eca91c3a9c8..f66a5a32c15 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt index e785c2dec44..6881f30d594 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.4.kt index 17882d0f2ca..82487bbd525 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-3/pos/2.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 * NUMBER: 4 * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark without digits after it. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt index 72cd02d9781..5a84a47b5e5 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with a not allowed underscore at the beginning. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt index 53c8db2020d..7e275392db0 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals with dots separated by underscores. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.3.kt index 2ce9469ad74..0f705e77f81 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals with float suffix not at the end and underscores at the different positions. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.4.kt index 070c2ca1819..aafb2dcec26 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/neg/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with omitted whole-number part, float suffix not at the end and underscores at the different positions. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt index e9fcdae7997..b7d75725d86 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt index 76f91659d15..5512afb4b7b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt index e0c74b372b0..8560f8f149b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt index 1050fcd933d..0d12e56f4bc 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt index 3584ba99cc5..d68a12847e3 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.6.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.6.kt index cef82610ba2..85021d67439 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.6.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.6.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Real literals without digits after an exponent mark and with undescores in the different pisitions. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.7.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.7.kt index 13932fcead2..63ea3cd4bad 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.7.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/1.7.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 * NUMBER: 7 * DESCRIPTION: Real literals with underscores at the end. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.1.kt index 9eb831ef69e..30b12c4a048 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 1 * DESCRIPTION: Real literals with underscores before an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.2.kt index db7fb6d3252..ea770cec30e 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 2 * DESCRIPTION: Real literals with underscores after an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.3.kt index bf33756b921..5e433cc6a0f 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-4/pos/2.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Real literals with underscores around an exponent mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-6/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-6/neg/1.1.kt index 935a6f74870..7fded4ab0ab 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-6/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/p-6/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, real-literals -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Real literals suffixed by not supported d/D (a double suffix). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt index 05f342db52a..238cb00c3d4 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Various integer literals with a long literal mark doublicate. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt index d81d8758d71..1615b0151dd 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Various integer literals with a long literal mark in not allowed places. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt index 067d3f1f290..f7dd710c4b4 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Various integer literals with underscores after a long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.4.kt index 341fcf28ac1..7497f6896a4 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 4 * DESCRIPTION: The long literal mark after not integer literals. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt index b6a7e9b3f67..653d51e2aaa 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 1 * DESCRIPTION: Decimal integer literals suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.10.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.10.kt index 9f32f02bed8..2f828c7138a 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.10.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.10.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 10 * DESCRIPTION: Long literal mark in not allowed places (it's considered as identifiers). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt index 56f591651ea..d89b486e115 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 2 * DESCRIPTION: Decimal integer literals with underscores suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt index 4410db6c604..03d0f191540 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.3.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 3 * DESCRIPTION: Hexadecimal integer literals suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.4.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.4.kt index 107f2ff13dc..8cedf477ac8 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.4.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.4.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 4 * DESCRIPTION: Hexadecimal prefix only suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.5.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.5.kt index 9bbb1e355c0..86effc32aef 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.5.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.5.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 5 * DESCRIPTION: Hexadecimal integer literals with underscores suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.6.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.6.kt index 268f325159f..9431c3fcb42 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.6.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.6.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 6 * DESCRIPTION: Binary integer literals suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.7.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.7.kt index 0aa1f7dce62..6178adaddd2 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.7.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.7.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 7 * DESCRIPTION: Binary prefix only suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.8.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.8.kt index 59a3e3c9a1d..b682495b02a 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.8.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.8.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 8 * DESCRIPTION: Binary integer literals with underscores suffixed by the long literal mark. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.9.kt b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.9.kt index 4c412705e4a..feaf17e259b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.9.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/1.9.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 + * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 * NUMBER: 9 * DESCRIPTION: Various integer literals with long literal mark in not allowed lower case (but valid in opinion the parser). */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.1.kt index a7c638dfe16..cb928128014 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Empty 'when' with missed bound value. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.2.kt index 9bb28f2f3b3..086543475d0 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/neg/3.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Empty 'when' with missed 'when entries' section. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.1.kt index 69a01e41129..05a46f18f01 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 1 * DESCRIPTION: Empty 'when' with bound value. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.2.kt index 18f6794e547..3e2e6fb6b41 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-1/pos/3.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 1 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 * NUMBER: 2 * DESCRIPTION: Empty 'when' without bound value. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.1.kt index 742c5290ea5..879e517a91f 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' without bound value and missed control structure body. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.2.kt index fa6ede578a6..712261f386c 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' without bound value and missed 'when condition'. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.1.kt index 850b27200ab..d8f57d8c63b 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 1 * DESCRIPTION: 'When' without bound value and with invalid 'else' branch. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.2.kt index ba5bdb0e287..b572ebb99a6 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-2/neg/2.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 - * PLACE: expressions, when-expression -> paragraph 2 -> sentence 2 + * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 * NUMBER: 2 * DESCRIPTION: 'When' without bound value and with invalid list of the boolean conditions in 'when entry'. */ 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 85097539261..ceba444b7a7 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 @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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 84be09d20b2..1ef6ad68b58 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 @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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 a7446811f07..933ca0a0ccb 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 @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-313 - * PLACE: expressions, when-expression -> paragraph 5 -> sentence 1 + * MAIN LINK: 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/p-6/neg/1.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.1.kt index 4dc2d2e083f..df4a3503253 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and type test condition, but missed type in 'when condition'. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.2.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.2.kt index b8cd5037610..21c706801b6 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.2.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/1.2.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 1 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and 'when condition' with type checking operator and non-type value. * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/12.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/12.1.kt index 2ed37e3b0e4..3f4a1c1361d 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/12.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/12.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 12 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 12 * NUMBER: 1 * DESCRIPTION: 'When' with invalid else condition. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/3.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/3.1.kt index 6f872cf6467..988d46a73d9 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/3.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/3.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-296 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 3 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and 'when condition' with range expression, but without contains operator. */ diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/9.1.kt b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/9.1.kt index 5399213d12a..33776ba98c6 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/9.1.kt +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/p-6/neg/9.1.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-201 - * PLACE: expressions, when-expression -> paragraph 6 -> sentence 9 + * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 9 * NUMBER: 1 * DESCRIPTION: 'When' with bound value and not allowed spread operator in 'when condition'. */ diff --git a/compiler/tests-spec/testData/psi/templates/_layout/linkedTestsLayout.kt b/compiler/tests-spec/testData/psi/templates/_layout/linkedTestsLayout.kt index 26e61a59275..cc24cc2752b 100644 --- a/compiler/tests-spec/testData/psi/templates/_layout/linkedTestsLayout.kt +++ b/compiler/tests-spec/testData/psi/templates/_layout/linkedTestsLayout.kt @@ -2,7 +2,7 @@ * KOTLIN PSI SPEC TEST () * * SPEC VERSION: 0.1-draft - * PLACE: -> paragraph -> sentence + * MAIN LINK: -> paragraph -> sentence * NUMBER: * DESCRIPTION: * NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY! diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/TestsJsonMapGenerator.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/TestsJsonMapGenerator.kt index dbdea774a57..b8ac7648976 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/TestsJsonMapGenerator.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/TestsJsonMapGenerator.kt @@ -12,7 +12,7 @@ import com.google.gson.JsonObject import org.jetbrains.kotlin.spec.utils.models.LinkedSpecTest import org.jetbrains.kotlin.spec.utils.models.SpecPlace import org.jetbrains.kotlin.spec.utils.parsers.CommonParser -import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.parseImplementationTest +import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns import java.io.File object TestsJsonMapGenerator { @@ -52,18 +52,9 @@ object TestsJsonMapGenerator { File("${GeneralConfiguration.SPEC_TESTDATA_PATH}/${testArea.testDataPath}/$LINKED_TESTS_PATH").walkTopDown() .forEach testFiles@{ file -> if (!file.isFile || file.extension != "kt" || file.name.endsWith(".fir.kt")) return@testFiles - val (specTest, _) = CommonParser.parseSpecTest(file.canonicalPath, mapOf("main.kt" to file.readText())) - if (specTest is LinkedSpecTest) { - val testInfo = getTestInfo(specTest) - val testInfoWithFilePath = getTestInfo(specTest, file) - - testsMap.getOrCreateSpecTestObject(specTest.place, specTest.testArea, specTest.testType).add(testInfo) - - specTest.relevantPlaces?.forEach { - testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoWithFilePath) - } + collectInfoFromTests(testsMap, specTest, getTestInfo(specTest), getTestInfo(specTest, file)) } } } @@ -71,22 +62,26 @@ object TestsJsonMapGenerator { private fun collectInfoFromImplementationTests(testsMap: JsonObject) { TestArea.values().forEach { testArea -> - val files = File("${GeneralConfiguration.TESTDATA_PATH}/${testArea.testDataPath}").walkTopDown() - - for (file in files) { - if (!file.isFile || file.extension != "kt") continue - - val parsedImplementationTest = parseImplementationTest(file, testArea) ?: continue - val relevantPlaces = parsedImplementationTest.relevantPlaces ?: listOf() - - (relevantPlaces + parsedImplementationTest.place).forEach specPlaces@ { specPlace -> - val parsedAdditionalImplementationTest = parseImplementationTest(file, testArea) ?: return@specPlaces - - testsMap.getOrCreateSpecTestObject(specPlace, testArea, parsedImplementationTest.testType).add( - getTestInfo(parsedAdditionalImplementationTest, file) - ) + File("${GeneralConfiguration.TESTDATA_PATH}/${testArea.testDataPath}").walkTopDown() + .forEach testFiles@{ file -> + if (!file.isFile || file.extension != "kt") return@testFiles + if (!LinkedSpecTestPatterns.testInfoPattern.matcher(file.readText()).find()) + return@testFiles + val (specTest, _) = CommonParser.parseImplTest(file.canonicalPath, mapOf("main.kt" to file.readText())) + collectInfoFromTests(testsMap, specTest, getTestInfo(specTest, file)) } - } + } + } + + private fun collectInfoFromTests( + testsMap: JsonObject, + specTest: LinkedSpecTest, + testInfoForMainLink: JsonObject, + testInfoForRelevantLink: JsonObject = testInfoForMainLink + ) { + testsMap.getOrCreateSpecTestObject(specTest.place, specTest.testArea, specTest.testType).add(testInfoForMainLink) + specTest.relevantPlaces?.forEach { + testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoForRelevantLink) } } diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/AbstractSpecTest.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/AbstractSpecTest.kt index 83cb03900ff..e7c8c4cae75 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/AbstractSpecTest.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/AbstractSpecTest.kt @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.TestsExceptionType import org.jetbrains.kotlin.spec.utils.* import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.issuesPattern -import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.relevantPlacesPattern +import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.relevantLinksPattern import org.jetbrains.kotlin.spec.utils.parsers.TestCasePatterns.testCaseNumberPattern import java.util.regex.Matcher import java.util.regex.Pattern @@ -41,7 +41,7 @@ enum class SpecTestCaseInfoElementType( override val required: Boolean = false ) : SpecTestInfoElementType { TESTCASE_NUMBER(valuePattern = testCaseNumberPattern, required = true), - RELEVANT_PLACES(valuePattern = relevantPlacesPattern), + RELEVANT_PLACES(valuePattern = relevantLinksPattern), UNSPECIFIED_BEHAVIOR } diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/LinkedSpecTest.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/LinkedSpecTest.kt index 0ab4a6ebcf9..33ca143f332 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/LinkedSpecTest.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/models/LinkedSpecTest.kt @@ -10,8 +10,8 @@ import org.jetbrains.kotlin.spec.utils.SpecTestCasesSet import org.jetbrains.kotlin.spec.utils.SpecTestInfoElementType import org.jetbrains.kotlin.spec.utils.TestArea import org.jetbrains.kotlin.spec.utils.TestType -import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.placePattern -import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.relevantPlacesPattern +import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.mainLinkPattern +import org.jetbrains.kotlin.spec.utils.parsers.LinkedSpecTestPatterns.relevantLinksPattern import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.withSpaces import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.withUnderscores import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.splitByPathSeparator @@ -24,9 +24,10 @@ enum class LinkedSpecTestFileInfoElementType( override val required: Boolean = false ) : SpecTestInfoElementType { SPEC_VERSION(required = true), - PLACE(valuePattern = placePattern, required = true), - RELEVANT_PLACES(valuePattern = relevantPlacesPattern), - UNSPECIFIED_BEHAVIOR + MAIN_LINK(valuePattern = mainLinkPattern), + PRIMARY_LINKS(valuePattern = relevantLinksPattern), + SECONDARY_LINKS(valuePattern = relevantLinksPattern), + UNSPECIFIED_BEHAVIOR; } data class SpecPlace( diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/CommonParser.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/CommonParser.kt index 863273507ad..0197ad49baa 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/CommonParser.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/CommonParser.kt @@ -5,7 +5,10 @@ package org.jetbrains.kotlin.spec.utils.parsers -import org.jetbrains.kotlin.spec.utils.* +import org.jetbrains.kotlin.spec.utils.SpecTestInfoElementContent +import org.jetbrains.kotlin.spec.utils.SpecTestInfoElementType +import org.jetbrains.kotlin.spec.utils.SpecTestLinkedType +import org.jetbrains.kotlin.spec.utils.TestFiles import org.jetbrains.kotlin.spec.utils.models.* import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.testInfoElementPattern import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.testPathBaseRegexTemplate @@ -32,8 +35,8 @@ object CommonParser { private fun parseBasePath(pathPartRegex: String, testFilePath: String) = Pattern.compile(testPathBaseRegexTemplate.format(pathPartRegex)).matcher(testFilePath) - fun parsePath(pathPartRegex: String, testFilePath: String) = - Pattern.compile(testPathBaseRegexTemplate.format(pathPartRegex)).matcher(testFilePath) + fun parseImplTest(testFilePath: String, files: TestFiles): Pair = + Pair(parseLinkedSpecTest(testFilePath, files, isImplementationTest = true), SpecTestLinkedType.LINKED) fun parseSpecTest(testFilePath: String, files: TestFiles) = when { isPathMatched(LinkedSpecTestPatterns.pathPartRegex, testFilePath) -> @@ -44,32 +47,6 @@ object CommonParser { throw SpecTestValidationException(SpecTestValidationFailedReason.FILENAME_NOT_VALID) } - fun parseImplementationTest(file: File, testArea: TestArea): LinkedSpecTest? { - val matcher = ImplementationTestPatterns.testInfoPattern.matcher(file.readText()) - - if (!matcher.find()) - return null - - val testType = TestType.fromValue(matcher.group("testType")) - ?: throw SpecTestValidationException(SpecTestValidationFailedReason.TESTINFO_NOT_VALID) - val specVersion = matcher.group("specVersion") - val testSpecSentenceList = matcher.group("testSpecSentenceList") - val specSentenceListMatcher = ImplementationTestPatterns.relevantSpecSentencesPattern.matcher(testSpecSentenceList) - val specPlaces = mutableListOf() - - while (specSentenceListMatcher.find()) { - specPlaces.add( - SpecPlace( - sections = specSentenceListMatcher.group("specSections").split(Regex(""",\s*""")), - paragraphNumber = specSentenceListMatcher.group("specParagraph").toInt(), - sentenceNumber = specSentenceListMatcher.group("specSentence").toInt() - ) - ) - } - - return LinkedSpecTest.getInstanceForImplementationTest(specVersion, testArea, testType, specPlaces, file.nameWithoutExtension) - } - private fun createSpecPlace(placeMatcher: Matcher, basePlaceMatcher: Matcher = placeMatcher) = SpecPlace( placeMatcher.group("sections")?.splitByComma() ?: basePlaceMatcher.group("sections").splitByComma(), @@ -77,26 +54,44 @@ object CommonParser { placeMatcher.group("sentenceNumber").toInt() ) - fun parseLinkedSpecTest(testFilePath: String, testFiles: TestFiles): LinkedSpecTest { - val parsedTestFile = tryParseTestInfo(testFilePath, testFiles, SpecTestLinkedType.LINKED) - val testInfoElements = parsedTestFile.testInfoElements - val placeMatcher = testInfoElements[LinkedSpecTestFileInfoElementType.PLACE]!!.additionalMatcher!! - val relevantPlacesMatcher = testInfoElements[LinkedSpecTestFileInfoElementType.RELEVANT_PLACES]?.additionalMatcher - val relevantPlaces = relevantPlacesMatcher?.let { - mutableListOf().apply { - add(createSpecPlace(it, placeMatcher)) - while (it.find()) { - add(createSpecPlace(it, placeMatcher)) - } + private fun parseRelevantPlaces( + placesMatcher: Matcher?, + relevantPlaces: MutableList + ) { + if (placesMatcher == null) + return + placesMatcher?.let { + relevantPlaces.add(createSpecPlace(it, placesMatcher)) + while (it.find()) { + relevantPlaces.add(createSpecPlace(it, placesMatcher)) } } + } + + fun parseLinkedSpecTest(testFilePath: String, testFiles: TestFiles, isImplementationTest: Boolean = false): LinkedSpecTest { + val relevantAndAlternativePlaces = mutableListOf() + val parsedTestFile = tryParseTestInfo(testFilePath, testFiles, SpecTestLinkedType.LINKED, isImplementationTest) + + val testInfoElements = parsedTestFile.testInfoElements + + parseRelevantPlaces( + testInfoElements[LinkedSpecTestFileInfoElementType.PRIMARY_LINKS]?.additionalMatcher, + relevantAndAlternativePlaces + ) + + parseRelevantPlaces( + testInfoElements[LinkedSpecTestFileInfoElementType.SECONDARY_LINKS]?.additionalMatcher, + relevantAndAlternativePlaces + ) + + val placeMatcher = testInfoElements[LinkedSpecTestFileInfoElementType.MAIN_LINK]?.additionalMatcher return LinkedSpecTest( testInfoElements[LinkedSpecTestFileInfoElementType.SPEC_VERSION]!!.content, parsedTestFile.testArea, parsedTestFile.testType, - createSpecPlace(placeMatcher), - relevantPlaces, + if (placeMatcher != null) createSpecPlace(placeMatcher) else relevantAndAlternativePlaces.first(), + relevantAndAlternativePlaces, parsedTestFile.testNumber, parsedTestFile.testDescription, parsedTestFile.testCasesSet, @@ -136,34 +131,59 @@ object CommonParser { while (testInfoElementMatcher.find()) { val testInfoOriginalElementName = testInfoElementMatcher.group("name") - val testInfoElementName = rules.find { - it as Enum<*> - it.name == testInfoOriginalElementName.withUnderscores() - } ?: throw SpecTestValidationException( - SpecTestValidationFailedReason.TESTINFO_NOT_VALID, - "Unknown '$testInfoOriginalElementName' test info element name." - ) - val testInfoElementValue: String? - testInfoElementValue = if (testInfoOriginalElementName == "RELEVANT PLACES") { - val relevantPlacesMatcher = LinkedSpecTestPatterns.relevantPlaces.matcher(rawElements) - if (relevantPlacesMatcher.find()) { - relevantPlacesMatcher.group("places") - } else throw Exception("Relevant link is incorrect") - } else { - testInfoElementMatcher.group("value") - } + val testInfoElementValue = parseTestInfoElementValue(testInfoOriginalElementName, testInfoElementMatcher, rawElements) + val testInfoElementName = parseSpecTestInfoElementType(rules, testInfoOriginalElementName) val testInfoElementValueMatcher = testInfoElementName.valuePattern?.matcher(testInfoElementValue) - - if (testInfoElementValueMatcher != null && !testInfoElementValueMatcher.find()) - throw SpecTestValidationException( - SpecTestValidationFailedReason.TESTINFO_NOT_VALID, - "'$testInfoElementValue' in '$testInfoElementName' is not parsed." - ) - + checkTestInfoElementIsCorrect(testInfoElementValueMatcher, testInfoElementName, testInfoElementValue) testInfoElementsMap[testInfoElementName] = SpecTestInfoElementContent(testInfoElementValue ?: "", testInfoElementValueMatcher) } + checkRulesObservance(rules, testInfoElementsMap) + return testInfoElementsMap + } + private fun parseTestInfoElementValue( + testInfoOriginalElementName: String?, + testInfoElementMatcher: Matcher, + rawElements: String, + ) = when (testInfoOriginalElementName) { + LinkedSpecTestPatterns.PRIMARY_LINKS -> + groupRelevantAndAlternativePlaces(LinkedSpecTestPatterns.primaryLinks, rawElements, testInfoOriginalElementName) + LinkedSpecTestPatterns.SECONDARY_LINKS -> + groupRelevantAndAlternativePlaces(LinkedSpecTestPatterns.secondaryLinks, rawElements, testInfoOriginalElementName) + else -> + testInfoElementMatcher.group("value") + } + + + private fun parseSpecTestInfoElementType( + rules: Array, + testInfoOriginalElementName: String + ) = rules.find { + it as Enum<*> + it.name == testInfoOriginalElementName.withUnderscores() + } ?: throw SpecTestValidationException( + SpecTestValidationFailedReason.TESTINFO_NOT_VALID, + "Unknown '$testInfoOriginalElementName' test info element name." + ) + + private fun checkTestInfoElementIsCorrect( + testInfoElementValueMatcher: Matcher?, + testInfoElementName: SpecTestInfoElementType, + testInfoElementValue: String? + ) { + if (testInfoElementValueMatcher != null && !testInfoElementValueMatcher.find()) + throw SpecTestValidationException( + SpecTestValidationFailedReason.TESTINFO_NOT_VALID, + "'$testInfoElementValue' in '$testInfoElementName' is not parsed." + ) + } + + + private fun checkRulesObservance( + rules: Array, + testInfoElementsMap: MutableMap + ) { rules.forEach { if (it.required && !testInfoElementsMap.contains(it)) { throw SpecTestValidationException( @@ -172,8 +192,14 @@ object CommonParser { ) } } + } - return testInfoElementsMap + + private fun groupRelevantAndAlternativePlaces(placesPattern: Pattern, rawElements: String, linkType: String): String { + val placesMatcher = placesPattern.matcher(rawElements) + if (placesMatcher.find()) { + return placesMatcher.group("places") + } else throw Exception("$linkType link is incorrect") } fun testInfoFilter(fileContent: String) = diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/Patterns.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/Patterns.kt index 4afa99f0ab0..595d2cf0abf 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/Patterns.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/Patterns.kt @@ -21,6 +21,7 @@ import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.sectionsInPathRege import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.testAreaRegex import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.testPathRegexTemplate import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.testTypeRegex +import org.jetbrains.kotlin.spec.utils.parsers.CommonPatterns.ws import java.io.File import java.util.regex.Pattern @@ -34,6 +35,7 @@ object CommonPatterns { val ls: String = System.lineSeparator() val ps: String = Pattern.quote(File.separator) + val ws = """\s*""" val directiveRegex = """${SINGLE_LINE_COMMENT_REGEX.format("""[\w\s]+:""")}|${MULTILINE_COMMENT_REGEX.format(""" $ASTERISK_REGEX [\w\s]+:[\s\S]*?""")}""" @@ -67,6 +69,9 @@ object NotLinkedSpecTestPatterns : BasePatterns { object LinkedSpecTestPatterns : BasePatterns { private const val FILENAME_REGEX = """(?$INTEGER_REGEX)\.(?$INTEGER_REGEX)(?:\.fir)?\.kt""" + const val PRIMARY_LINKS = "PRIMARY LINKS" + const val SECONDARY_LINKS = "SECONDARY LINKS" + override val pathPartRegex = """${SpecTestLinkedType.LINKED.testDataPath}$ps$sectionsInPathRegex${ps}p-(?$INTEGER_REGEX)""" override val testPathPattern: Pattern = @@ -74,16 +79,17 @@ object LinkedSpecTestPatterns : BasePatterns { override val testInfoPattern: Pattern = Pattern.compile(MULTILINE_COMMENT_REGEX.format(""" $ASTERISK_REGEX KOTLIN $testAreaRegex SPEC TEST \($testTypeRegex\)\n(?[\s\S]*?\n)""")) - val placePattern: Pattern = + val mainLinkPattern: Pattern = Pattern.compile("""(?$SECTIONS_IN_FILE_REGEX) -> paragraph (?$INTEGER_REGEX) -> sentence (?$INTEGER_REGEX)""") - val relevantPlacesPattern: Pattern = + val relevantLinksPattern: Pattern = Pattern.compile("""(( $ASTERISK_REGEX )?\s*((?$SECTIONS_IN_FILE_REGEX) -> )?(paragraph (?$INTEGER_REGEX) -> )?sentence (?$INTEGER_REGEX))+""") - private val relevantPlaceRegex = + private val linkRegex = Regex("""(( $ASTERISK_REGEX )?\s*($SECTIONS_IN_FILE_REGEX -> )?(paragraph $INTEGER_REGEX -> )?sentence $INTEGER_REGEX)""") - val relevantPlaces: Pattern = Pattern.compile("""RELEVANT PLACES: (?(${relevantPlaceRegex}(\s)*\n)+)""") + val primaryLinks: Pattern = Pattern.compile("""$PRIMARY_LINKS$ws:$ws(?(${linkRegex}(\s)*\n)+)""") + val secondaryLinks: Pattern = Pattern.compile("""$SECONDARY_LINKS$ws:$ws(?(${linkRegex}(\s)*\n)+)""") } object TestCasePatterns { @@ -102,11 +108,4 @@ object TestCasePatterns { val testCaseInfoPattern: Pattern = Pattern.compile("(?:$testCaseInfoSingleLineRegex)|(?:$testCaseInfoMultilineRegex)") val testCaseNumberPattern: Pattern = Pattern.compile("""([1-9]\d*)(,\s*[1-9]\d*)*""") -} - -object ImplementationTestPatterns { - val testInfoPattern: Pattern = - Pattern.compile(MULTILINE_COMMENT_REGEX.format("""\*\s+RELEVANT SPEC SENTENCES \(spec version: (?\d+\.[0-9]\d*\-[0-9]\d*), test type: (?pos|neg)\):(?(\n\s+\*\s+-\s+.*?)+)""")) - val relevantSpecSentencesPattern: Pattern = - Pattern.compile("""\n\s+\*\s+-\s+(?.*?) -> paragraph (?[1-9]\d*) -> sentence (?[1-9]\d*)""") -} +} \ No newline at end of file diff --git a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/TestInfoParser.kt b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/TestInfoParser.kt index 7db8ae8af5d..a21e757806b 100644 --- a/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/TestInfoParser.kt +++ b/compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/parsers/TestInfoParser.kt @@ -11,10 +11,10 @@ import org.jetbrains.kotlin.spec.utils.* import org.jetbrains.kotlin.spec.utils.models.CommonInfoElementType import org.jetbrains.kotlin.spec.utils.models.CommonSpecTestFileInfoElementType import org.jetbrains.kotlin.spec.utils.models.SpecTestInfoElements -import org.jetbrains.kotlin.spec.utils.validators.SpecTestValidationException -import org.jetbrains.kotlin.spec.utils.validators.SpecTestValidationFailedReason import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.splitByComma import org.jetbrains.kotlin.spec.utils.parsers.CommonParser.withUnderscores +import org.jetbrains.kotlin.spec.utils.validators.SpecTestValidationException +import org.jetbrains.kotlin.spec.utils.validators.SpecTestValidationFailedReason import java.io.File data class ParsedTestFile( @@ -62,10 +62,54 @@ private fun parseTestInfo(testFilePath: String, testFiles: TestFiles, linkedTest ) } -fun tryParseTestInfo(testFilePath: String, testFiles: TestFiles, linkedTestType: SpecTestLinkedType): ParsedTestFile { + +private fun parseImplementationTestInfo(testFilePath: String, linkedTestType: SpecTestLinkedType): ParsedTestFile { + val patterns = linkedTestType.patterns.value + val testInfoByContentMatcher = patterns.testInfoPattern.matcher(FileUtil.loadFile(File(testFilePath), true)) + + if (!testInfoByContentMatcher.find()) { + throw SpecTestValidationException(SpecTestValidationFailedReason.TESTINFO_NOT_VALID) + } + + val testInfoElements = CommonParser.parseTestInfoElements( + arrayOf( + *CommonInfoElementType.values(), + *linkedTestType.infoElements.value + ), + testInfoByContentMatcher.group("infoElements") + ) + + val fileNameWithoutExtension = testFilePath.split("/").last().replace(".kt", "") + + return ParsedTestFile( + testArea = TestArea.valueOf(testInfoByContentMatcher.group("testArea").withUnderscores()), + testType = TestType.valueOf(testInfoByContentMatcher.group("testType")), + testNumber = testInfoElements[CommonSpecTestFileInfoElementType.NUMBER]?.content?.toInt() ?: 0, + testDescription = fileNameWithoutExtension.toUpperCase()[0] + fileNameWithoutExtension.substring(1) + .replace(Regex("""([A-Z])"""), " $1").toLowerCase(), + testInfoElements = testInfoElements, + testCasesSet = SpecTestCasesSet(mutableMapOf(), mutableMapOf(), mutableMapOf()), //todo + unexpectedBehavior = testInfoElements.contains(CommonInfoElementType.UNEXPECTED_BEHAVIOUR), + issues = CommonParser.parseIssues(testInfoElements[CommonInfoElementType.ISSUES]), + helpers = testInfoElements[CommonSpecTestFileInfoElementType.HELPERS]?.content?.splitByComma()?.toSet(), + exception = testInfoElements[CommonInfoElementType.EXCEPTION]?.content?.let { TestsExceptionType.fromValue(it) } + ) +} + +fun tryParseTestInfo( + testFilePath: String, + testFiles: TestFiles, + linkedTestType: SpecTestLinkedType, + isImplementationTest: Boolean = false +): ParsedTestFile { try { - return parseTestInfo(testFilePath, testFiles, linkedTestType) + return if (isImplementationTest) + parseImplementationTestInfo(testFilePath, linkedTestType) + else + parseTestInfo(testFilePath, testFiles, linkedTestType) } catch (e: Exception) { error("Wrong format of file:\nfile://$testFilePath \n${e.message}") } } + +