From d94c212a604376c52d7b7d9c1ba430792af15070 Mon Sep 17 00:00:00 2001 From: "anastasiia.spaseeva" Date: Mon, 20 Apr 2020 14:45:43 +0300 Subject: [PATCH] [Spec tests] Add linkType element to testMaps --- .../catching-exceptions/testsMap.json | 6 +- .../additive-expression/testsMap.json | 24 +- .../kotlin.nothing-1/testsMap.json | 30 +- .../kotlin.unit/testsMap.json | 3 +- .../expressions/cast-expression/testsMap.json | 3 +- .../comparison-expressions/testsMap.json | 60 ++- .../conditional-expression/testsMap.json | 33 +- .../boolean-literals/testsMap.json | 78 ++-- .../character-literals/testsMap.json | 3 +- .../binary-integer-literals/testsMap.json | 6 +- .../decimal-integer-literals/testsMap.json | 6 +- .../testsMap.json | 6 +- .../real-literals/testsMap.json | 48 +- .../testsMap.json | 9 +- .../elvis-operator-expression/testsMap.json | 9 +- .../testsMap.json | 36 +- .../value-equality-expressions/testsMap.json | 45 +- .../indexing-expressions/testsMap.json | 45 +- .../break-expression/testsMap.json | 48 +- .../continue-expression/testsMap.json | 48 +- .../return-expressions/testsMap.json | 45 +- .../testsMap.json | 18 +- .../testsMap.json | 18 +- .../multiplicative-expression/testsMap.json | 27 +- .../testsMap.json | 15 +- .../testsMap.json | 30 +- .../testsMap.json | 30 +- .../logical-not-expression/testsMap.json | 12 +- .../prefix-decrement-expression/testsMap.json | 36 +- .../prefix-increment-expression/testsMap.json | 36 +- .../unary-minus-expression/testsMap.json | 12 +- .../unary-plus-expression/testsMap.json | 12 +- .../range-expression/testsMap.json | 12 +- .../expressions/try-expression/testsMap.json | 60 ++- .../testsMap.json | 51 ++- .../type-checking-expression/testsMap.json | 12 +- .../expressions/when-expression/testsMap.json | 30 +- .../testsMap.json | 30 +- .../infix-function-call/testsMap.json | 3 +- .../operator-call/testsMap.json | 90 ++-- .../testsMap.json | 84 ++-- .../receivers/testsMap.json | 18 +- .../overloadable-operators/testsMap.json | 75 ++- .../operator-assignments/testsMap.json | 180 +++++--- .../simple-assignments/testsMap.json | 54 ++- .../statements/assignments/testsMap.json | 60 ++- .../do-while-loop-statement/testsMap.json | 18 +- .../while-loop-statement/testsMap.json | 15 +- .../type-system/introduction-1/testsMap.json | 3 +- .../kotlin.nothing/testsMap.json | 6 +- .../annotation-targets/testsMap.json | 3 +- .../conditional-expressions/testsMap.json | 42 +- .../testsMap.json | 78 ++-- .../abstract-classes/testsMap.json | 57 ++- .../classifier-initialization/testsMap.json | 3 +- .../function-declaration/testsMap.json | 12 +- .../local-property-declaration/testsMap.json | 3 +- .../property-initialization/testsMap.json | 3 +- .../additive-expression/testsMap.json | 6 +- .../kotlin.nothing-1/testsMap.json | 3 +- .../kotlin.unit/testsMap.json | 3 +- .../callable-references/testsMap.json | 6 +- .../navigation-operators/testsMap.json | 6 +- .../comparison-expressions/testsMap.json | 9 +- .../conditional-expression/testsMap.json | 24 +- .../boolean-literals/testsMap.json | 15 +- .../character-literals/testsMap.json | 54 ++- .../binary-integer-literals/testsMap.json | 12 +- .../decimal-integer-literals/testsMap.json | 9 +- .../testsMap.json | 15 +- .../real-literals/testsMap.json | 114 +++-- .../testsMap.json | 39 +- .../elvis-operator-expression/testsMap.json | 3 +- .../value-equality-expressions/testsMap.json | 6 +- .../lambda-literals/testsMap.json | 6 +- .../break-expression/testsMap.json | 3 +- .../continue-expression/testsMap.json | 3 +- .../return-expressions/testsMap.json | 6 +- .../jump-expressions/testsMap.json | 3 +- .../testsMap.json | 12 +- .../testsMap.json | 12 +- .../multiplicative-expression/testsMap.json | 6 +- .../testsMap.json | 6 +- .../logical-not-expression/testsMap.json | 3 +- .../prefix-decrement-expression/testsMap.json | 6 +- .../prefix-increment-expression/testsMap.json | 6 +- .../unary-minus-expression/testsMap.json | 3 +- .../unary-plus-expression/testsMap.json | 3 +- .../range-expression/testsMap.json | 6 +- .../expressions/try-expression/testsMap.json | 87 ++-- .../testsMap.json | 3 +- .../type-checking-expression/testsMap.json | 6 +- .../exhaustive-when-expressions/testsMap.json | 312 ++++++++----- .../expressions/when-expression/testsMap.json | 432 ++++++++++++------ .../inheritance/overriding/testsMap.json | 9 +- .../testsMap.json | 243 ++++++---- .../call-with-named-parameters/testsMap.json | 156 ++++--- .../testsMap.json | 111 +++-- .../testsMap.json | 78 ++-- .../testsMap.json | 147 ++++-- .../infix-function-call/testsMap.json | 117 +++-- .../operator-call/testsMap.json | 48 +- .../c-level-partition/testsMap.json | 18 +- .../testsMap.json | 27 +- .../description/testsMap.json | 12 +- .../rationale/testsMap.json | 3 +- .../receivers/testsMap.json | 39 +- .../overloadable-operators/testsMap.json | 12 +- .../operator-assignments/testsMap.json | 24 +- .../simple-assignments/testsMap.json | 6 +- .../statements/assignments/testsMap.json | 21 +- .../do-while-loop-statement/testsMap.json | 15 +- .../while-loop-statement/testsMap.json | 12 +- .../local-type-inference/testsMap.json | 15 +- .../smart-cast-sink-stability/testsMap.json | 6 +- .../smart-cast-types/testsMap.json | 48 +- .../type-system/introduction-1/testsMap.json | 21 +- .../testsMap.json | 6 +- .../subtyping/subtyping-rules/testsMap.json | 6 +- .../built-in-types/kotlin.any/testsMap.json | 3 +- .../type-kinds/type-parameters/testsMap.json | 3 +- .../binary-integer-literals/testsMap.json | 30 +- .../decimal-integer-literals/testsMap.json | 15 +- .../testsMap.json | 27 +- .../real-literals/testsMap.json | 165 ++++--- .../testsMap.json | 42 +- .../expressions/when-expression/testsMap.json | 48 +- .../spec/utils/TestsJsonMapGenerator.kt | 41 +- .../spec/utils/models/LinkedSpecTest.kt | 6 +- .../kotlin/spec/utils/parsers/CommonParser.kt | 14 +- 130 files changed, 3130 insertions(+), 1551 deletions(-) diff --git a/compiler/tests-spec/testData/codegen/box/linked/exceptions/catching-exceptions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/exceptions/catching-exceptions/testsMap.json index ce51a4b55a5..0b8784e67ff 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/exceptions/catching-exceptions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/exceptions/catching-exceptions/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -18,7 +19,8 @@ "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/testsMap.json index dcb2909bfb7..d0fdcbdaff1 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A - B is exactly the same as A.MINUS(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A + B is exactly the same as A.plus(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -27,14 +29,16 @@ "casesNumber": 0, "description": "A - B is exactly the same as A.MINUS(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A + B is exactly the same as A.plus(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -43,14 +47,16 @@ "casesNumber": 0, "description": "A - B is exactly the same as A.MINUS(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A + B is exactly the same as A.plus(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -63,14 +69,16 @@ "casesNumber": 0, "description": "A - B is exactly the same as A.MINUS(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A + B is exactly the same as A.plus(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json index 21f9e744303..73bcb531b29 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json @@ -6,61 +6,71 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "ckeck a common type of String and Nothing is String", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check kotlin.Nothing by throwing the exception", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json index c4171cae2f3..bcdfbaf1af0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "todo", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json index 156c1a8038d..a61ad446a25 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/cast-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "check of the cast operators as or as?", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/testsMap.json index 39244da044e..c99308bce5c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/testsMap.json @@ -6,25 +6,29 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -33,28 +37,32 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -67,7 +75,8 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -76,14 +85,16 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -92,7 +103,8 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -105,28 +117,32 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -139,28 +155,32 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json index 1fa71bd3814..17b9ea7d0aa 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "The type of the condition expression must be a subtype of kotlin.Boolean, otherwise it is an error", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,49 +19,57 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -73,7 +82,8 @@ "casesNumber": 0, "description": "if-expression: check the correct branch is evaluating", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/conditional-expression/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -85,7 +95,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "branchless conditional expression, despite being of almost no practical use, is valid in Kotlin", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/testsMap.json index dc6ab08a644..68f6a7bfa2a 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/testsMap.json @@ -6,157 +6,183 @@ "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the companionObject.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the typeParameter.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the packageComplex.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the catchBlock.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the parameter.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the function.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the valueArgument.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the typeAlias.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the import.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the labelDefinition.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the enumEntry.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the setter.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the callableReference.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the typeConstraint.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the simpleUserType.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the labelReference.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the atomicExpression.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the object.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the packageSimple.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/testsMap.json index c7b3941ebb7..6c89ee0fbe6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/character-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "character literal codepoint is equal to the unicode symbol codes", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json index 69d0c1fa12c..b640fcd4990 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with binary digit symbols separated by underscores.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with binary digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json index 5d5bf0b91e1..9ca9d7fa38c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with decimal digit symbols separated by underscores.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with decimal digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json index e9fc81f151b..f6014b86093 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with hexadecimal digit symbols separated by underscores.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with hexadecimal digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/testsMap.json index 7de93ad05f3..f0c3c85982d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/real-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -26,31 +28,36 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -62,19 +69,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with omitted a fraction part, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a fraction part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -82,25 +92,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -112,13 +126,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json index 803485d0a1b..1d80f5d7350 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Decimal integer literals with long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/testsMap.json index 01b21d96807..d3fccc305cd 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "Check Elvis evaluation", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -15,7 +16,8 @@ "casesNumber": 0, "description": "Check Elvis evaluation", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -28,7 +30,8 @@ "casesNumber": 0, "description": "Check Elvis evaluation", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/elvis-operator-expression/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/testsMap.json index b14839b9a11..f14ee25fde8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/testsMap.json @@ -6,38 +6,44 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check if two values are equal (\u003d\u003d\u003d) by reference", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "two values are equal (\u003d\u003d\u003d) or non-equal (!\u003d\u003d) by reference", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check if values are non-equal (!\u003d\u003d) by reference", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check if two values are non-equal (!\u003d\u003d) by reference", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check if two values are equal (\u003d\u003d\u003d) by reference", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "todo", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -45,7 +51,8 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check equallity by refference via constructor", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -58,7 +65,8 @@ "casesNumber": 0, "description": "check if two values are equal (\u003d\u003d\u003d) by reference", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -66,13 +74,15 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "Any instance of the null reference null is equal by reference to any other instance of the null reference;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "Any instance of the null reference null is equal by reference to any other instance of the null reference;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -80,7 +90,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "If these values are non-equal by value, they are also non-equal by reference;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -93,7 +104,8 @@ "casesNumber": 0, "description": "check if two values are equal (\u003d\u003d\u003d) by reference", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/reference-equality-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json index 7ac305ecd27..85cc1604b34 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json @@ -6,31 +6,36 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -38,31 +43,36 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -75,35 +85,40 @@ "casesNumber": 0, "description": "check value-equality-expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "check value-equality-expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/equality-expressions/value-equality-expressions/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/testsMap.json index 029bab1bda8..cb63178e7b7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/testsMap.json @@ -6,31 +6,36 @@ "specVersion": "0.1-220", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -43,35 +48,40 @@ "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -84,35 +94,40 @@ "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/indexing-expressions/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/testsMap.json index d6ca5f125cb..6fe507be3e6 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which break-jumps to the loop L.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -20,13 +22,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the continue keyword, which break-jumps to the innermost loop statement in the current scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the break keyword, which break-jumps to the innermost loop statement in the current scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -39,28 +43,32 @@ "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the continue keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which break-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the break keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -69,28 +77,32 @@ "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the continue keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which break-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the break keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -103,28 +115,32 @@ "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the continue keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled break expression, denoted break@Loop, where Loop is a label of a labeled loop statement L, which break-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the break keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/testsMap.json index 1b8554e797a..7bcd06daa70 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -20,13 +22,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -39,28 +43,32 @@ "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -69,28 +77,32 @@ "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -103,28 +115,32 @@ "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A labeled continue expression, denoted continue@Loop, where Loop is a label of a labeled loop statement L, which continue-jumps to the loop L.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple continue expression, specified using the continue keyword, which continue-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/continue-expression/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json index 2901d4b08b7..67dacc5441f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -27,7 +30,8 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -40,35 +44,40 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -80,14 +89,16 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -96,13 +107,15 @@ "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -115,14 +128,16 @@ "casesNumber": 0, "description": "If several declarations match one name, the return is considered to be from the nearest matching function;", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "If return@Context is inside a lambda expression body, the name of the function using this lambda expression as its argument may be used as Context to refer to the lambda literal itself", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/return-expressions/p-3/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/testsMap.json index e318ab33f7a..a3b8c4d14b9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -27,21 +30,24 @@ "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator \u0026\u0026 does not evaluate the right hand side argument unless the left hand side argument evaluated to false.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-conjunction-expression/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/testsMap.json index 2c1abf2cc17..9b8ba924c07 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -27,21 +30,24 @@ "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "operator || does not evaluate the right hand side argument unless the left hand side argument evaluated to false", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/logical-disjunction-expression/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/testsMap.json index cdb657b74f8..43bb575e97d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A / B is exactly the same as A.div(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A % B is exactly the same as A.rem(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -22,7 +24,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A * B is exactly the same as A.times(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -35,21 +38,24 @@ "casesNumber": 0, "description": "A / B is exactly the same as A.div(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A % B is exactly the same as A.rem(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A * B is exactly the same as A.times(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -58,21 +64,24 @@ "casesNumber": 0, "description": "A / B is exactly the same as A.div(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A % B is exactly the same as A.rem(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A * B is exactly the same as A.times(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/testsMap.json index 63b87d0535d..5fcc45daa39 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-220", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-220", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -21,14 +23,16 @@ "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-220", "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -36,7 +40,8 @@ "specVersion": "0.1-220", "casesNumber": 0, "description": "If the evaluation result of e is not equal to null, the result of e!! is the evaluation result of e.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json index d587903abb5..ed121e2c0c9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -25,27 +27,31 @@ "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check the result of dec() is assigned to A, the return type of dec must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -57,13 +63,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -75,13 +83,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check for A-- expression A must be an assignable expression (a navigation expression referring to a mutable property)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a decrement expression A-- expression A must be an assignable expression (an indexing expression)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json index 7bd25286a1f..50383ceccd0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix increment expression has the same type as its operand expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " check postfix increment expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -25,27 +27,31 @@ "casesNumber": 0, "description": " check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check the result of inc() is assigned to A, the return type of inc must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -57,13 +63,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -75,13 +83,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check for A++ expression A must be an assignable expression (a navigation expression referring to a mutable property)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a increment expression A++ expression A must be an assignable expression (an indexing expression)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json index a6a6f4b1066..4a3b3f700c9 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-220", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -28,7 +30,8 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -41,7 +44,8 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/logical-not-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json index e9a79474de5..4d322fde558 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json @@ -7,41 +7,47 @@ "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "A prefix decrement expression is an expression which uses the prefix form of operator --", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check the result of dec() is assigned to A, the return type of inc must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -53,13 +59,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -71,13 +79,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "A prefix decrement expression is an expression which uses the prefix form of operator --", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -89,13 +99,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix decrement expression --A expression A must be an assignable expression (a navigation expression referring to a mutable property)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression --A expression A must be an assignable expression (an indexing expression)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json index 6a8352e8c59..e4acaf4eae0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json @@ -7,41 +7,47 @@ "casesNumber": 0, "description": "check postfix increment expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check the result of inc() is assigned to A, the return type of inc must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -53,13 +59,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -71,13 +79,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -89,13 +99,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression ++A expression A must be an assignable expression (a navigation expression referring to a mutable property)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression ++A expression A must be an assignable expression (an indexing expression)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json index 10816bf98e5..b07a2ad6285 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "exactly the same as A.unaryMinus() where unaryMinus is a valid operator function available in the current scope.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 0, "description": "exactly the same as A.unaryMinus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -28,7 +30,8 @@ "casesNumber": 0, "description": "exactly the same as A.unaryMinus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -41,7 +44,8 @@ "casesNumber": 0, "description": "exactly the same as A.unaryMinus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-minus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json index b974b357a55..2ba2b0c3a0b 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "+A is exactly the same as A.unaryPlus() where unaryMinus is a valid operator function available in the current scope.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 0, "description": "+A is exactly the same as A.unaryPlus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -28,7 +30,8 @@ "casesNumber": 0, "description": "+A is exactly the same as A.unaryPlus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -41,7 +44,8 @@ "casesNumber": 0, "description": "+A is exactly the same as A.unaryPlus() where unaryMinus is a valid operator function available in the current scope.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/unary-plus-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/testsMap.json index 004c02d81a1..5fc7b82b9da 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "A..B is exactly the same as A.rangeTo(B)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 0, "description": "A..B is exactly the same as A.rangeTo(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -28,7 +30,8 @@ "casesNumber": 0, "description": "A..B is exactly the same as A.rangeTo(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -41,7 +44,8 @@ "casesNumber": 0, "description": "A..B is exactly the same as A.rangeTo(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/range-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json index a48b47b8c33..5376352189d 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "finally block has no effect on the value returned by the try-expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "The value of the try-expression is the same as the value of the last expression of the try or catch block", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -30,7 +32,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -39,7 +42,8 @@ "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -49,19 +53,22 @@ "specVersion": "0.1-218", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -70,21 +77,24 @@ "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -92,13 +102,15 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "If there are several catch blocks which match the exception type, the first one is picked.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "If there are several catch blocks which match the exception type, the first one is picked.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -110,7 +122,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -120,7 +133,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "the finally block is evaluated after the evaluation of the matching catch block.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -128,7 +142,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -136,7 +151,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -149,7 +165,8 @@ "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -160,21 +177,24 @@ "casesNumber": 0, "description": "the finally block is evaluated after the evaluation of the matching catch block.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "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", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "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.", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json index eb2de3d138d..6449ae368c2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -25,28 +27,32 @@ "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -55,28 +61,32 @@ "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -89,28 +99,32 @@ "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -122,13 +136,15 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": " A in B is exactly the same as B.contains(A);", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -140,7 +156,8 @@ "specVersion": "0.1-218", "casesNumber": 0, "description": "The contains function must have a return type kotlin.Boolean, otherwise it is a compile-time error.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json index e2ab8ab3896..22b76d6ff3e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "checks whether the runtime type of E is not a subtype of T for !is operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "checks whether the runtime type of EE is a subtype of TT for is operator", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -24,7 +26,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "E is T: The type T must be runtime-available, otherwise it is a compiler error", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -36,7 +39,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "the expression null is T? for any type T always evaluates to true", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json index 50eb13e27e4..4ca7181f130 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/testsMap.json @@ -6,25 +6,29 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (sealed class)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "it is possible to replace the else condition with an always-true condition (Enum)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -34,25 +38,29 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (Boolean)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " it is possible to replace the else condition with an always-true condition (sealed class)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "it is possible to replace the else condition with an always-true condition (Enum)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -64,7 +72,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "The else condition is a special condition which evaluates to true if none of the branches above it evaluated to true.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -74,7 +83,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json index 3358abcec25..a9630a0f51c 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json @@ -7,21 +7,24 @@ "casesNumber": 0, "description": "Extension callables, declared in the package scope, for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Extension callables, declared in the package scope, for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -30,14 +33,16 @@ "casesNumber": 0, "description": "Non-extension member callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "5": [ @@ -46,7 +51,8 @@ "casesNumber": 0, "description": "Star-imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -55,14 +61,16 @@ "casesNumber": 0, "description": "Explicitly imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -71,14 +79,16 @@ "casesNumber": 0, "description": "Local extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "local extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json index ee0f9f1bdd0..34219ceecb7 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "infix calls for properties", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json index e8f0cc0b5fc..2ce31da0950 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json @@ -6,61 +6,71 @@ "specVersion": "0.1-268", "casesNumber": 0, "description": "Extension callables, declared in the package scope, for for-loop operator iterator call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for for-loop operator iterator call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for for-loop operator iterator call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for delegated properties call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for delegated properties call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Extension callables, declared in the package scope, for delegated properties call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for delegated properties call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Local extension callables for for-loop operator iterator call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for for-loop operator iterator call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "local extension callables for delegated properties call", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -73,70 +83,80 @@ "casesNumber": 0, "description": "Extension callables, declared in the package scope, for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Extension callables, declared in the package scope, for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Local extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "local extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -149,70 +169,80 @@ "casesNumber": 0, "description": "Extension callables, declared in the package scope, for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Star-imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Extension callables, declared in the package scope, for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Non-extension member callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Local extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "Explicitly imported extension callables for for-loop operator iterator call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "local extension callables for delegated properties call", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/testsMap.json index 748d41e7f37..10fc0b5bb77 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/testsMap.json @@ -6,55 +6,64 @@ "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -67,49 +76,56 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "7": [ @@ -118,21 +134,24 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "6": [ @@ -141,14 +160,16 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -157,7 +178,8 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -166,7 +188,8 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "9": [ @@ -175,7 +198,8 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "8": [ @@ -184,14 +208,16 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "10": [ @@ -200,14 +226,16 @@ "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "function-like prio is higher than property-like callables", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/callables-and-invoke-convention/p-5/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/testsMap.json index 9d8a11b9019..9ae8f69f721 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-268", "casesNumber": 0, "description": "implicit this receiver has higher priority than any companion object receiver", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 0, "description": "implicit this receiver has higher priority than any companion object receiver", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -20,7 +22,8 @@ "specVersion": "0.1-278", "casesNumber": 0, "description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -28,7 +31,8 @@ "specVersion": "0.1-278", "casesNumber": 0, "description": "Superclass companion object receivers are prioritized according to the inheritance order", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "4": [ @@ -37,13 +41,15 @@ "casesNumber": 0, "description": "Superclass companion object receivers are prioritized according to the inheritance order", "path": "compiler/tests-spec/testData/codegen/box/linked/overload-resolution/receivers/p-5/pos/5.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 0, "description": "Current class companion object receiver has higher priority than any of the superclass companion objects;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/overloadable-operators/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/overloadable-operators/testsMap.json index a0b3c003224..eb4c9280788 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overloadable-operators/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/overloadable-operators/testsMap.json @@ -7,175 +7,200 @@ "casesNumber": 0, "description": "These operators are overloadable (A \u003c B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003c\u003d B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "These operators are overloadable (A \u003e B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/comparison-expressions/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix increment expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": " check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A - B is exactly the same as A.MINUS(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A + B is exactly the same as A.plus(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/additive-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A / B is exactly the same as A.div(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A % B is exactly the same as A.rem(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 0, "description": "A * B is exactly the same as A.times(B)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/multiplicative-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "A prefix decrement expression is an expression which uses the prefix form of operator --", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/testsMap.json index 8361db3852c..6586a1b8272 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -21,14 +23,16 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -37,7 +41,8 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "10": [ @@ -45,13 +50,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "11": [ @@ -60,14 +67,16 @@ "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "12": [ @@ -76,7 +85,8 @@ "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "13": [ @@ -84,13 +94,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "14": [ @@ -99,14 +111,16 @@ "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "7": [ @@ -114,13 +128,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -129,14 +145,16 @@ "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "9": [ @@ -145,7 +163,8 @@ "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -153,13 +172,15 @@ "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -168,14 +189,16 @@ "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "6": [ @@ -184,7 +207,8 @@ "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "15": [ @@ -193,7 +217,8 @@ "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -203,13 +228,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -218,14 +245,16 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -234,7 +263,8 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "10": [ @@ -242,13 +272,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "11": [ @@ -257,14 +289,16 @@ "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "12": [ @@ -273,7 +307,8 @@ "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "13": [ @@ -281,13 +316,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "14": [ @@ -296,14 +333,16 @@ "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "7": [ @@ -311,13 +350,15 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -326,14 +367,16 @@ "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "9": [ @@ -342,14 +385,16 @@ "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -357,13 +402,15 @@ "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.minus(B) (applied in order)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -372,14 +419,16 @@ "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "15": [ @@ -388,7 +437,8 @@ "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -401,35 +451,40 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.minusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/neg/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -440,35 +495,40 @@ "casesNumber": 0, "description": "A +\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.plus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A /\u003d B is exactly the same as A.divAssign(B) or A \u003d A.div(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/10.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A *\u003d B is exactly the same as A.timesAssign(B) or A \u003d A.times(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/7.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "A -\u003d B is exactly the same as A.plusAssign(B) or A \u003d A.minus(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A %\u003d B is exactly the same as A.remAssign(B) or A \u003d A.rem(B) (applied in order)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/operator-assignments/p-2/pos/13.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/testsMap.json index 002e07258b4..59aa00ba019 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-222", "casesNumber": 0, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -31,49 +33,57 @@ "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter, it is called using the right-hand side expression as its argument;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter (including delegated properties), it is called using the right-hand side expression as its argument", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter, it is called using the right-hand side expression as its argument;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -82,53 +92,61 @@ "casesNumber": 0, "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 (?.)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter, it is called using the right-hand side expression as its argument;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter (including delegated properties), it is called using the right-hand side expression as its argument", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 0, "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 (?.)", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "If a property has a setter, it is called using the right-hand side expression as its argument;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/testsMap.json index 75fc064f15f..4a7c7def751 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/assignments/testsMap.json @@ -7,84 +7,96 @@ "casesNumber": 0, "description": " check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix increment expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "check postfix decrement expression has the same type as its operand expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check postfix decrement expression", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-6/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "A prefix decrement expression is an expression which uses the prefix form of operator --", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -93,28 +105,32 @@ "casesNumber": 0, "description": "check for A++ expression A must be an assignable expression (a navigation expression referring to a mutable property)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for A-- expression A must be an assignable expression (a navigation expression referring to a mutable property)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression ++A expression A must be an assignable expression (a navigation expression referring to a mutable property)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix decrement expression --A expression A must be an assignable expression (a navigation expression referring to a mutable property)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -123,28 +139,32 @@ "casesNumber": 0, "description": "check for a increment expression A++ expression A must be an assignable expression (an indexing expression)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-increment-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a decrement expression A-- expression A must be an assignable expression (an indexing expression)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/postfix-operator-expressions/postfix-decrement-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression ++A expression A must be an assignable expression (an indexing expression)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "check for a prefix increment expression --A expression A must be an assignable expression (an indexing expression)", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/testsMap.json index 3ffe424fd2c..140609237cd 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-253", "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -21,14 +23,16 @@ "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -41,14 +45,16 @@ "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "do-while-loop-statement evaluates the loop condition expression after evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/testsMap.json index d31cc7e7f08..1fb441e4553 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/testsMap.json @@ -6,20 +6,23 @@ "specVersion": "0.1-253", "casesNumber": 0, "description": "while-loop-statement evaluates the loop condition expression before evaluating the loop body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "while-loop-statement evaluates the loop condition expression before evaluating the loop body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 0, "description": "A simple break expression, specified using the continue keyword, which break-jumps to the innermost loop statement in the current scope", "path": "compiler/tests-spec/testData/codegen/box/linked/expressions/jump-expressions/break-expression/p-3/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -32,14 +35,16 @@ "casesNumber": 0, "description": "while-loop-statement evaluates the loop condition expression before evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-253", "casesNumber": 0, "description": "while-loop-statement evaluates the loop condition expression before evaluating the loop body.", "path": "compiler/tests-spec/testData/codegen/box/linked/statements/loop-statements/while-loop-statement/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/testsMap.json index 871050243e9..afa3a2ff5d8 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/type-system/introduction-1/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/testsMap.json b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/testsMap.json index 8f22ca2c513..092a4d88ec0 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/testsMap.json +++ b/compiler/tests-spec/testData/codegen/box/linked/type-system/type-kinds/built-in-types/kotlin.nothing/testsMap.json @@ -6,13 +6,15 @@ "specVersion": "0.1-213", "casesNumber": 0, "description": "check the allowance of returning Nothing where String is expected", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 0, "description": "todo", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json index 65feac96156..9653a5338c0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/annotations/annotation-targets/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json index 8d653b917f6..919270445cc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-296", "casesNumber": 2, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,25 +15,29 @@ "specVersion": "0.1-296", "casesNumber": 2, "description": "check if-expressions must have both branches.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 8, "description": "check if-expressions must have both branches. (attempt to pass Nothing to if-condition without \u0027else\u0027 key word)", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 5, "description": "check if-expressions must have both branches. (attempt to pass Nothing to if-condition with \u0027else\u0027 key word)", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 2, "description": "check if-expressions must have both branches.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -42,7 +47,8 @@ "specVersion": "0.1-296", "casesNumber": 2, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -50,27 +56,31 @@ "specVersion": "0.1-296", "casesNumber": 2, "description": "check if-expressions must have both branches.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 3, "description": "check if-expressions must have both branches.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check before", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check else", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -83,14 +93,16 @@ "casesNumber": 0, "description": "When type disjunctions", "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -101,14 +113,16 @@ "casesNumber": 0, "description": "Exhaustive return throw", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive return", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json index a283268e550..b66be22015d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/performing-analysis-on-the-control-flow-graph/variable-initialization-analysis/testsMap.json @@ -7,49 +7,56 @@ "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning false", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive var over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -58,49 +65,56 @@ "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning false", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive var over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -111,21 +125,24 @@ "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -134,21 +151,24 @@ "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -161,35 +181,40 @@ "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning false", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive var over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -198,7 +223,8 @@ "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/testsMap.json index ddba95bc552..51da487630a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 1, "description": "check abstract classes cannot be instantiated directly", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -15,13 +16,15 @@ "casesNumber": 1, "description": "check abstract classes cannot be instantiated directly", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 1, "description": "check abstract classes can have abstract not implemented members", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -31,7 +34,8 @@ "specVersion": "0.1-213", "casesNumber": 3, "description": "check abstract classes can have abstract not implemented members", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -44,67 +48,78 @@ "casesNumber": 1, "description": "check abstract classes can have abstract not implemented members", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 1, "description": "Abstract classes may contain abstract members, which should be implemented in an anonymous class that inherits from that abstract type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 1, "description": "attempt to implement abstract members with invalid types", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 3, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 1, "description": "Abstract classes may contain abstract members, which should be implemented in an inner class that inherits from that abstract type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 1, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -114,25 +129,29 @@ "specVersion": "0.1-213", "casesNumber": 1, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 4, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 3, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/classifier-initialization/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/classifier-initialization/testsMap.json index 716d3828e6f..d29ba260caf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/classifier-initialization/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/classifier-initialization/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/function-declaration/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/declarations/function-declaration/testsMap.json index bbbbf8bd639..4231c7b08cf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/function-declaration/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/function-declaration/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -18,7 +19,8 @@ "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -27,7 +29,8 @@ "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -40,7 +43,8 @@ "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/testsMap.json index 663607de08a..546f7934f7b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "All non-abstract properties must be definitely initialized before their first use.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/property-initialization/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/property-initialization/testsMap.json index ae2b2203059..20ff47bba5c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/property-initialization/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/property-initialization/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 2, "description": "All non-abstract properties must be definitely initialized before their first use.", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/property-declaration/local-property-declaration/p-1/neg/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/testsMap.json index 6533cabaf04..36f585b1570 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 3, "description": "The return type of these functions is not restricted.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 3, "description": "The return type of these functions is not restricted.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json index f9fe04fc277..fad0113b388 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 3, "description": "check the type of jump expressions is Nothing and code placed on the left side of expression will never be executed", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json index ce8d6a9f0d1..d4e74614072 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 4, "description": "Check of Unit type", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } 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..b3ec99a6af7 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 @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Callable reference as last expression in block", "path": "compiler/testData/diagnostics/tests/callableReference/callableReferenceAsLastExpressionInBlock.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -20,7 +21,8 @@ "casesNumber": 0, "description": "Bare type", "path": "compiler/testData/diagnostics/tests/callableReference/bareType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/call-and-property-access-expressions/navigation-operators/testsMap.json index e183128aab6..2d6d2878268 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 @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Correct info after array like call", "path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -20,7 +21,8 @@ "casesNumber": 0, "description": "Correct info after array like call", "path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/testsMap.json index c49cecf073f..9a19c0f7c51 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-220", "casesNumber": 1, "description": "\u003c, \u003e, \u003c\u003d and \u003e\u003d operators are overloadable", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-218", "casesNumber": 4, "description": "The compareTo operator function must have return type kotlin.Int", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -30,7 +32,8 @@ "specVersion": "0.1-218", "casesNumber": 4, "description": "All comparison expressions always have type kotlin.Boolean.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json index 65c77ffe5f7..6d489e44836 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 3, "description": "The type of the condition expression must be a subtype of kotlin.Boolean", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] }, @@ -16,7 +17,8 @@ "specVersion": "0.1-313", "casesNumber": 4, "description": "The type of the condition expression must be a subtype of kotlin.Boolean", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -29,28 +31,32 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt9972", "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -63,14 +69,16 @@ "casesNumber": 0, "description": "Kt9972", "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/testsMap.json index c39655a6c1a..1d9caa2570d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-300", "casesNumber": 7, "description": "checking of type for Boolean values: impossible to use as identifiers", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 1, "description": "Checking of type for Boolean values", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -24,7 +26,8 @@ "specVersion": "0.1-300", "casesNumber": 7, "description": "checking of type for Boolean values: possible to use as identifiers if surround with backticks", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -32,13 +35,15 @@ "specVersion": "0.1-100", "casesNumber": 1, "description": "Checking of type for Boolean values", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 1, "description": "Checking of subtype for Boolean values", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/testsMap.json index 1a41e6131c3..875044eafca 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 4, "description": "A character literal defines a constant holding a unicode character value", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 4, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -25,7 +27,8 @@ "specVersion": "0.1-218", "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -34,7 +37,8 @@ "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -47,7 +51,8 @@ "casesNumber": 4, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -56,7 +61,8 @@ "casesNumber": 4, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -67,7 +73,8 @@ "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -76,7 +83,8 @@ "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -89,13 +97,15 @@ "casesNumber": 4, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 2, "description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -106,19 +116,22 @@ "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 512, "description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 1, "description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -131,21 +144,24 @@ "casesNumber": 1, "description": "A character literal defines a constant holding a unicode character value", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 512, "description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 1, "description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -158,7 +174,8 @@ "casesNumber": 2, "description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -169,7 +186,8 @@ "casesNumber": 512, "description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json index 0871bbf783d..8fe0e3b709d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-100", "casesNumber": 4, "description": "Binary integer literals with an underscore after the prefix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 7, "description": "Binary integer literals with an underscore in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 11, "description": "Binary integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -26,7 +29,8 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Binary integer literals with the prefix only.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json index 78e591d25a7..80542bbe74f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-100", "casesNumber": 8, "description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 8, "description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 8, "description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json index a71900d0dad..dd61c51f42c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json @@ -6,25 +6,29 @@ "specVersion": "0.1-100", "casesNumber": 4, "description": "Hexadecimal integer literals with an underscore after the prefix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 7, "description": "Hexadecimal integer literals with an underscore in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 11, "description": "Hexadecimal integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 11, "description": "Hexadecimal integer literals with an underscore in the first position (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -32,7 +36,8 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Hexadecimal integer literals with the prefix only.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/testsMap.json index 8a5f01ec769..5a59b916f70 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 6, "description": "Real literals suffixed by f/F (float suffix) separeted by comments.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,7 +15,8 @@ "specVersion": "0.1-100", "casesNumber": 6, "description": "Real literals separeted by comments.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -24,13 +26,15 @@ "specVersion": "0.1-100", "casesNumber": 12, "description": "Real literals with a many digits in a whole-number part and a fraction part (including conforms).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 35, "description": "Simple real literals with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -38,13 +42,15 @@ "specVersion": "0.1-100", "casesNumber": 35, "description": "Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 12, "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).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -56,19 +62,22 @@ "specVersion": "0.1-100", "casesNumber": 14, "description": "Real literals with underscores before an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 26, "description": "Real literals with underscores around an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 29, "description": "Real literals with underscores after an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -76,13 +85,15 @@ "specVersion": "0.1-100", "casesNumber": 15, "description": "Real literals with underscores at the end.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 15, "description": "Real literals without digits after an exponent mark and with undescores in the different pisitions.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -92,31 +103,36 @@ "specVersion": "0.1-100", "casesNumber": 27, "description": "Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 27, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 29, "description": "Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 31, "description": "Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 27, "description": "Real literals with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -128,7 +144,8 @@ "specVersion": "0.1-100", "casesNumber": 9, "description": "Real literals with omitted a fraction part and an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -136,13 +153,15 @@ "specVersion": "0.1-100", "casesNumber": 17, "description": "Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 17, "description": "Real literals with omitted a whole-number part and an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -152,19 +171,22 @@ "specVersion": "0.1-100", "casesNumber": 25, "description": "Simple real literals with omitted a fraction part, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 23, "description": "Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 23, "description": "Real literals with omitted a fraction part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -172,31 +194,36 @@ "specVersion": "0.1-100", "casesNumber": 30, "description": "Real literals with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 6, "description": "Real literals separeted by comments with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 23, "description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 26, "description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 29, "description": "Simple real literals with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -208,25 +235,29 @@ "specVersion": "0.1-100", "casesNumber": 13, "description": "Real literals with a not allowed exponent mark at the beginning.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 13, "description": "Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 17, "description": "Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 17, "description": "Real literals without digits after an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -236,13 +267,15 @@ "specVersion": "0.1-100", "casesNumber": 26, "description": "Real literals suffixed by f/F (float suffix) with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 39, "description": "Simple real literals with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -254,31 +287,36 @@ "specVersion": "0.1-100", "casesNumber": 39, "description": "A type checking of a real literal with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 29, "description": "A type checking of a real literal with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 30, "description": "A type checking of a real literal with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 23, "description": "A type checking of a real literal with omitted a fraction part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 14, "description": "A type checking of a simple real literal (with/without underscores).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json index 6be38ff9b56..18e89c5339b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json @@ -6,31 +6,36 @@ "specVersion": "0.1-100", "casesNumber": 1, "description": "Various integer literals with not allowed long literal mark in lower case (type checking).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 4, "description": "Check of integer type selection depends on the context (incopatible types).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 2, "description": "Type checking (comparison with invalid types) of too a big integers.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 6, "description": "Type checking (comparison with invalid types) of various integer literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 1, "description": "Type checking (comparison with invalid types) of various integer literals with long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -38,19 +43,22 @@ "specVersion": "0.1-100", "casesNumber": 4, "description": "Various integer literals with a not allowed underscore before the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 4, "description": "Various integer literals with not allowed long literal mark in lower case.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 8, "description": "Binary and hexadecimal integer literals with a long literal mark only.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -60,31 +68,36 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Type checking of various integer literals with long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 4, "description": "Check of integer type selection depends on the context.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 5, "description": "Type checking of binary integer literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 5, "description": "Type checking of hexadecimal integer literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 5, "description": "Type checking of decimal integer literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/testsMap.json index 91b0d869bc0..4f68d99c278 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 4, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json index e0dd0bc5fb0..8e67bce0560 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 3, "description": "Value equality expressions always have type kotlin.Boolean as does the equals method in kotlin.Any", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -19,7 +20,8 @@ "casesNumber": 3, "description": "Value equality expressions always have type kotlin.Boolean as does the equals method in kotlin.Any", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/equality-expressions/value-equality-expressions/p-3/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/function-literals/lambda-literals/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/function-literals/lambda-literals/testsMap.json index e76c1486935..9f62d7b6c17 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/function-literals/lambda-literals/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/function-literals/lambda-literals/testsMap.json @@ -7,14 +7,16 @@ "casesNumber": 0, "description": "No else returned coercion to unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned from lambda expected int", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/testsMap.json index 480e2a16ce1..cb312730de2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-222", "casesNumber": 3, "description": "A break expression is a jump expression allowed only within loop bodies.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/testsMap.json index af88e758aa3..e745950cbe1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-222", "casesNumber": 3, "description": "A continue expression is a jump expression allowed only within loop bodies.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json index 36302d68965..04d6d26e1f7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-222", "casesNumber": 4, "description": "", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-313", "casesNumber": 2, "description": "check returning is not allowed from run{...}", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/testsMap.json index 03397bebf89..9fc7cb45578 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 3, "description": "check he type of jump expressions is the kotlin.Nothing", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json index 372c04bc8be..d1317b8c0a9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 7, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -25,7 +27,8 @@ "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -34,7 +37,8 @@ "casesNumber": 1, "description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json index 7e26b2e008a..a0ac7788899 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-313", "casesNumber": 7, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 7, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -25,7 +27,8 @@ "specVersion": "0.1-313", "casesNumber": 1, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -34,7 +37,8 @@ "casesNumber": 1, "description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/testsMap.json index 6e4e0ca1f64..d6847b44f16 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "The return type of these functions is not restricted.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 2, "description": "The return type of these functions is not restricted.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/testsMap.json index e7236d343b5..c45d8093213 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-296", "casesNumber": 5, "description": "The type of non-null assertion e!! expression is the non-nullable variant of the type of e.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-296", "casesNumber": 5, "description": "If the type of e is non-nullable, not-null assertion expression e!! has no effect.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json index 5152cde8563..9ec5be440db 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/logical-not-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "No additional restrictions apply for unary minus", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json index 514ccb8b268..e2bb3087bc1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 2, "description": "check unsafe prefix decrement expression call for an assignable expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-213", "casesNumber": 2, "description": "check as the result of dec is assigned to A, the return type of inc must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json index 25204d6dd4d..a6e51d6ec08 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-213", "casesNumber": 2, "description": "check unsafe prefix increment expression call for an assignable expression", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,7 +19,8 @@ "specVersion": "0.1-213", "casesNumber": 2, "description": "check as the result of inc is assigned to A, the return type of inc must be a subtype of A.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json index 5152cde8563..9ec5be440db 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-minus-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "No additional restrictions apply for unary minus", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json index b80f5f3d845..d9c1b8f7d0b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/unary-plus-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "No additional restrictions apply for unary plus", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/testsMap.json index 9ad5abea0ae..ea85451b279 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "The return type of range operator is not restricted.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 2, "description": "The return type of range operator is not restricted.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/testsMap.json index 614240ac270..1bab5221aaf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 6, "description": "try-expression has to start with a try body and continue with zero ore more catch blocks", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,28 +16,32 @@ "casesNumber": 6, "description": "try-expression has to start with a try body and continue with zero ore more catch blocks", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 3, "description": "try-expression has to start with a try body, catch blocks and finally block", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 2, "description": "A valid try-expression must have at least one catch or finally block.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/5.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 3, "description": "try-expression has to start with a try body", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -44,7 +49,8 @@ "specVersion": "0.1-218", "casesNumber": 3, "description": "try-expression has to start with a try body, catch blocks and finally block", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -52,7 +58,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "A valid try-expression must have at least one catch or finally block.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -60,7 +67,8 @@ "specVersion": "0.1-218", "casesNumber": 3, "description": "try-expression has to start with a try body", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -70,13 +78,15 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "try-expression has to start with a try body and continue with zero ore more catch blocks", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 5, "description": "catch is a soft keyword", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -85,35 +95,40 @@ "casesNumber": 2, "description": "try-expression has to start with a try body and continue with zero ore more catch blocks", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 2, "description": "try-expression has to start with a try body, catch blocks and finally block", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 5, "description": "finally is a soft keyword", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 5, "description": "catch is a soft keyword", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/3.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 2, "description": "try-expression has to start with a try body", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -121,13 +136,15 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "try-expression has to start with a try body, catch blocks and finally block", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-218", "casesNumber": 5, "description": "finally is a soft keyword", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -135,7 +152,8 @@ "specVersion": "0.1-218", "casesNumber": 2, "description": "try-expression has to start with a try body", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -144,7 +162,8 @@ "casesNumber": 2, "description": "try-expression has to start with a try body", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -156,7 +175,8 @@ "specVersion": "0.1-296", "casesNumber": 3, "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] }, @@ -166,7 +186,8 @@ "specVersion": "0.1-296", "casesNumber": 3, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -179,7 +200,8 @@ "casesNumber": 3, "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", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] }, @@ -190,7 +212,8 @@ "casesNumber": 3, "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", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -202,7 +225,8 @@ "specVersion": "0.1-218", "casesNumber": 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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -211,7 +235,8 @@ "casesNumber": 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.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -223,7 +248,8 @@ "specVersion": "0.1-218", "casesNumber": 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.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ], "1": [ @@ -231,7 +257,8 @@ "specVersion": "0.1-218", "casesNumber": 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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -244,14 +271,16 @@ "casesNumber": 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.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 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.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json index 59482fe3496..d86430b5884 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/containment-checking-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-218", "casesNumber": 4, "description": "Containment-checking expressions always have type kotlin.Boolean.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json index 9fe73dd521d..e82dade4318 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/testsMap.json @@ -6,14 +6,16 @@ "specVersion": "0.1-296", "casesNumber": 4, "description": "Type-checking expression always has type kotlin.Boolean.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 4, "description": "Type-checking expression always has type kotlin.Boolean.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } 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 7266c00302a..8c231e80557 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 @@ -6,47 +6,54 @@ "specVersion": "0.1-100", "casesNumber": 6, "description": "Non-exhaustive when using nullable enum values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 10, "description": "Non-exhaustive when using subclasses of the nullable sealed class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 3, "description": "Non-exhaustive when using nullable boolean values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -54,48 +61,55 @@ "specVersion": "0.1-100", "casesNumber": 3, "description": "Non-exhaustive when, with bound value, without else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 3, "description": "Non-exhaustive when, without bound value, without else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When and lambda with expected type", "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When type disjunctions", "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Reserved exhaustive when", "path": "compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -103,56 +117,64 @@ "specVersion": "0.1-100", "casesNumber": 5, "description": "Non-exhaustive when using boolean values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive var over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "6": [ @@ -160,28 +182,32 @@ "specVersion": "0.1-100", "casesNumber": 12, "description": "Non-exhaustive when using subclasses of the sealed class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Top level sealed", "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "4": [ @@ -190,28 +216,32 @@ "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "9": [ @@ -220,91 +250,104 @@ "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning false", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -313,21 +356,24 @@ "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "7": [ @@ -336,14 +382,16 @@ "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Top level sealed", "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -352,7 +400,8 @@ "casesNumber": 0, "description": "Top level sealed", "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -362,40 +411,46 @@ "specVersion": "0.1-100", "casesNumber": 7, "description": "Exhaustive when using subclasses of the nullable sealed class.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 3, "description": "Exhaustive when using nullable enum values.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 2, "description": "Exhaustive when using nullable boolean values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -403,61 +458,70 @@ "specVersion": "0.1-100", "casesNumber": 4, "description": "Exhaustive when, with bound value, with else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 8, "description": "Exhaustive when, with bound value (sealed, enum, boolean), with redundant else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 3, "description": "Exhaustive when, without bound value, with else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt4434", "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt9972", "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -465,28 +529,32 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Exhaustive when using boolean values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -494,7 +562,8 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Exhaustive when using enum values.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "6": [ @@ -502,7 +571,8 @@ "specVersion": "0.1-100", "casesNumber": 9, "description": "Exhaustive when using subclasses of the sealed class.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ], "9": [ @@ -511,91 +581,104 @@ "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check before", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check else", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive platform enum statement", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum annotated", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive return throw", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive return", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "923": [ @@ -604,7 +687,8 @@ "casesNumber": 0, "description": "Exhaustive platform enum statement", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "4": [ @@ -613,14 +697,16 @@ "casesNumber": 0, "description": "Exhaustive with nullability check boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -629,14 +715,16 @@ "casesNumber": 0, "description": "Exhaustive with nullability check boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -649,91 +737,104 @@ "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else expected unit", "path": "compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned coercion to unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned from lambda expected int", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else no expected type", "path": "compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned non unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -744,14 +845,16 @@ "casesNumber": 0, "description": "Kt4434", "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -764,7 +867,8 @@ "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } 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..3b981c598f6 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 @@ -6,7 +6,8 @@ "specVersion": "0.1-201", "casesNumber": 3, "description": "\u0027When\u0027 without bound value and with \u0027else\u0027 branch not in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,62 +15,71 @@ "specVersion": "0.1-296", "casesNumber": 1, "description": "\u0027When\u0027 with bound value and type test condition on the non-type operand of the type checking operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 3, "description": "\u0027When\u0027 with bound value and type test condition (without companion object in classes), but without type checking operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When type disjunctions", "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Top level sealed", "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -77,20 +87,23 @@ "specVersion": "0.1-296", "casesNumber": 1, "description": "\u0027When\u0027 with bound value and \u0027when condition\u0027 with range expression, but without containment checking operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and \u0027when condition\u0027 with contains operator and type without defined contains operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "7": [ @@ -98,7 +111,8 @@ "specVersion": "0.1-313", "casesNumber": 3, "description": "\u0027When\u0027 with bound value and with else branch not in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "11": [ @@ -106,21 +120,24 @@ "specVersion": "0.1-201", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and non-expressions in \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -129,28 +146,32 @@ "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "9": [ @@ -159,7 +180,8 @@ "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "10": [ @@ -168,14 +190,16 @@ "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -185,7 +209,8 @@ "specVersion": "0.1-201", "casesNumber": 2, "description": "\u0027When\u0027 without bound value and with else branch in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -193,46 +218,53 @@ "specVersion": "0.1-296", "casesNumber": 5, "description": "\u0027When\u0027 with bound value and type test condition (invert type checking operator).", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 6, "description": "\u0027When\u0027 with bound value and enumaration of type test conditions.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 7, "description": "\u0027When\u0027 with bound value and enumaration of type test conditions (with invert type checking operator).", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 6, "description": "\u0027When\u0027 with bound value and type test condition.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "10": [ @@ -240,13 +272,15 @@ "specVersion": "0.1-201", "casesNumber": 26, "description": "\u0027When\u0027 with different variants of the arithmetic expressions (additive expression and multiplicative expression) in \u0027when condition\u0027.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-201", "casesNumber": 23, "description": "\u0027When\u0027 with enumeration of the different variants of expressions in \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -254,13 +288,15 @@ "specVersion": "0.1-296", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and containment operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and enumeration of the containment operators.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "7": [ @@ -268,7 +304,8 @@ "specVersion": "0.1-313", "casesNumber": 3, "description": "\u0027When\u0027 with bound value and else branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "11": [ @@ -276,7 +313,8 @@ "specVersion": "0.1-201", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and not allowed break and continue expression (without labels) in \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -285,21 +323,24 @@ "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt4434", "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -311,13 +352,15 @@ "specVersion": "0.1-100", "casesNumber": 1, "description": "Empty when with bound value.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 1, "description": "Empty when without bound value.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -328,14 +371,16 @@ "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -344,14 +389,16 @@ "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -363,7 +410,8 @@ "specVersion": "0.1-313", "casesNumber": 4, "description": " it is possible to replace the else condition with an always-true condition", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -373,7 +421,8 @@ "specVersion": "0.1-313", "casesNumber": 4, "description": " it is possible to replace the else condition with an always-true condition", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -385,7 +434,8 @@ "specVersion": "0.1-218", "casesNumber": 3, "description": "The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -397,13 +447,15 @@ "specVersion": "0.1-100", "casesNumber": 1, "description": "When with non-boolean value in the when condition.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 1, "description": "When without bound value, forbidden comma in the when condition.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -412,21 +464,24 @@ "casesNumber": 0, "description": "When and lambda with expected type", "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Reserved exhaustive when", "path": "compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -435,7 +490,8 @@ "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -445,19 +501,22 @@ "specVersion": "0.1-100", "casesNumber": 9, "description": "When without bound value, various boolean values in the when condition.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 6, "description": "\u0027When\u0027 without bound value and with Nothing in condition (subtype of Boolean).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 2, "description": "\u0027When\u0027 without bound value and only one \u0027else\u0027 branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -465,41 +524,47 @@ "specVersion": "0.1-100", "casesNumber": 2, "description": "Allowed break and continue in the control structure body of when.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 25, "description": "When without bound value, various expressions in the control structure body.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt9972", "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Comma in when condition without argument", "path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "4": [ @@ -508,7 +573,8 @@ "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -517,7 +583,8 @@ "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -529,188 +596,215 @@ "specVersion": "0.1-313", "casesNumber": 2, "description": "\u0027When\u0027 with bound value and allowed break and continue expression (without labels) in the control structure body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 25, "description": "\u0027When\u0027 with bound value and with different variants of expressions in the control structure body.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum else", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check before", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check else", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt4434", "path": "compiler/testData/diagnostics/tests/when/kt4434.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive platform enum statement", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Comma in when condition without argument", "path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum annotated", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else when statement", "path": "compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive no initialization", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive return throw", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive return", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive platform enum null", "path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -721,238 +815,272 @@ "casesNumber": 0, "description": "When type disjunctions", "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean nullable", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else expected unit", "path": "compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive val over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean brackets", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "When", "path": "compiler/testData/diagnostics/tests/when/When.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean complex", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned coercion to unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning false", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Reserved exhaustive when", "path": "compiler/testData/diagnostics/tests/when/ReservedExhaustiveWhen.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive platform enum", "path": "compiler/testData/diagnostics/tests/when/NonExhaustivePlatformEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned from lambda expected int", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive var over conditional init", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression enum", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum mixed", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Empty condition with expression", "path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Property not initialized", "path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning else", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Redundant else", "path": "compiler/testData/diagnostics/tests/when/RedundantElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else no expected type", "path": "compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive enum is", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned non unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Exhaustive break continue", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Top level sealed", "path": "compiler/testData/diagnostics/tests/when/TopLevelSealed.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Else on nullable enum with smart cast", "path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -965,14 +1093,16 @@ "casesNumber": 0, "description": "Annotated when statement", "path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else when statement", "path": "compiler/testData/diagnostics/tests/when/NoElseWhenStatement.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -981,28 +1111,32 @@ "casesNumber": 0, "description": "Duplicated labels", "path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt9972", "path": "compiler/testData/diagnostics/tests/when/kt9972.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -1013,70 +1147,80 @@ "casesNumber": 0, "description": "Non exhaustive warning null", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else expected unit", "path": "compiler/testData/diagnostics/tests/when/NoElseExpectedUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned coercion to unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedCoercionToUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned from lambda expected int", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else no expected type", "path": "compiler/testData/diagnostics/tests/when/NoElseNoExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned non unit", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedNonUnit.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/inheritance/overriding/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/inheritance/overriding/testsMap.json index 690e723142a..a0e52e13e83 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/inheritance/overriding/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/inheritance/overriding/testsMap.json @@ -7,21 +7,24 @@ "casesNumber": 3, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class", "path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json index 14fe9ab787f..f55b09a3472 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 1, "description": "smart cast for the property available through the operator invoke", "path": "compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -20,42 +21,48 @@ "casesNumber": 1, "description": "smart cast for the property available through the operator invoke", "path": "compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "extension calls with explicit and implicit receiver", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -64,14 +71,16 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "extension calls with explicit and implicit receiver", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -84,68 +93,78 @@ "casesNumber": 2, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 4, "description": "Extension callables declared in the package scope", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 6, "description": "sets of extension callables declared in the package scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "5": [ @@ -154,76 +173,87 @@ "casesNumber": 1, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "Star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "Star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -232,73 +262,84 @@ "casesNumber": 4, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "Non-extension member callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 2, "description": "The sets of local extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "The sets of non-extension member callables named f of type T;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "extension calls with explicit and implicit receiver", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ], "3": [ @@ -307,55 +348,63 @@ "casesNumber": 2, "description": "infix fun: Explicitly imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 4, "description": "Explicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -364,58 +413,67 @@ "casesNumber": 6, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 10, "description": "Non-extension member callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "The sets of non-extension member callables named f of type T;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "6": [ @@ -423,7 +481,8 @@ "specVersion": "0.1-268", "casesNumber": 1, "description": "set of implicitly-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -434,7 +493,8 @@ "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -443,14 +503,16 @@ "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "5": [ @@ -459,14 +521,16 @@ "casesNumber": 1, "description": "Star-imported extension callable only", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -475,14 +539,16 @@ "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -491,7 +557,8 @@ "casesNumber": 4, "description": "Implicitly imported extension callable without infix modifier", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -504,35 +571,40 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "extension calls with explicit and implicit receiver", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -545,56 +617,64 @@ "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "The sets of non-extension member callables named f of type T;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of implicitly-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -607,7 +687,8 @@ "casesNumber": 6, "description": "sets of extension callables declared in the package scope", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/testsMap.json index fb381775773..1b42b8696bf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/testsMap.json @@ -7,224 +7,256 @@ "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 5, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "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", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 5, "description": "Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: sets of declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 2, "description": "Explicit receiver: Top-level non-extension functions: Implicitly imported callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables declared in the same package", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of implicitly-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.7.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of implicitly-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -237,14 +269,16 @@ "casesNumber": 5, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 5, "description": "Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -257,14 +291,16 @@ "casesNumber": 5, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 5, "description": "Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -276,97 +312,113 @@ "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 5, "description": "Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: sets of declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 2, "description": "Explicit receiver: Top-level non-extension functions: Implicitly imported callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables declared in the same package", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of implicitly-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-280", "casesNumber": 1, "description": "Implicit receiver: set of implicitly-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/testsMap.json index 69199745c2b..294d14e3238 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-specified-type-parameters/testsMap.json @@ -7,231 +7,264 @@ "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "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", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.10.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.14.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.15.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 2, "description": "Explicit receiver: Top-level non-extension functions: Implicitly imported callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.11.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables declared in the same package", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.9.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.8.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.16.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.12.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-280", "casesNumber": 3, "description": "Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.13.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] }, @@ -242,21 +275,24 @@ "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -268,7 +304,8 @@ "specVersion": "0.1-312", "casesNumber": 2, "description": " filtering is done before selection of the overload candidate set is perfomed", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/testsMap.json index ff81b0a9cea..a938d1a496d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/testsMap.json @@ -6,162 +6,188 @@ "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables star-imported into the current file;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 5, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "infix fun: Star-imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "infix fun: Star-imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Implicitly imported callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables declared in the same package", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 4, "description": "Infix fun: Local extension infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: Top-level non-extension functions: Callables explicitly imported into the current file", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "infix fun: Explicitly imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Explicit receiver: The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 3, "description": "call-with-trailing-lambda-expressions,Implicit receiver: sets of local, explicitly imported, declared in the package scope and star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 6, "description": "Infix fun: Local extension infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "call-with-trailing-lambda-expressions,Implicit receiver: set of implicitly-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/testsMap.json index 10cc053cc78..b1144e1558f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/testsMap.json @@ -6,19 +6,22 @@ "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -28,52 +31,60 @@ "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The implicit this receiver has higher priority than phantom static implicit this", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 4, "description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 4, "description": "Superclass companion object receivers are prioritized according to the inheritance order", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -81,7 +92,8 @@ "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables explicitly imported into the current file", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -89,7 +101,8 @@ "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables declared in the same package", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "6": [ @@ -97,7 +110,8 @@ "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables star-imported into the current file;", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "7": [ @@ -105,7 +119,8 @@ "specVersion": "0.1-278", "casesNumber": 2, "description": "Top-level non-extension functions: Implicitly imported callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -118,21 +133,24 @@ "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -143,63 +161,72 @@ "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -212,21 +239,24 @@ "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 1, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -237,63 +267,72 @@ "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } @@ -306,7 +345,8 @@ "casesNumber": 2, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -317,63 +357,72 @@ "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables explicitly imported into the current file", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables declared in the same package", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "Top-level non-extension functions: Callables star-imported into the current file;", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "Top-level non-extension functions: Implicitly imported callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 3, "description": "The overload candidate sets for each pair of implicit receivers: Local extension callables", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json index b6d07138fcb..37ccac5a0cf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/testsMap.json @@ -7,70 +7,80 @@ "casesNumber": 2, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 4, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "infix fun: Explicitly imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 6, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -79,70 +89,80 @@ "casesNumber": 2, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 1, "description": "infix fun: Star-imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 4, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 2, "description": "infix fun: Explicitly imported infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-300", "casesNumber": 6, "description": "Infix fun: Local extension infix extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -150,31 +170,36 @@ "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 6, "description": "Local extension infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -184,53 +209,61 @@ "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported extension callable only", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Implicitly imported extension callable without infix modifier", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -239,35 +272,40 @@ "casesNumber": 4, "description": "Local extension infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Explicitly imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported extension callable only", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 2, "description": "Star-imported infix extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-313", "casesNumber": 4, "description": "Implicitly imported extension callable without infix modifier", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "4": [ @@ -275,7 +313,8 @@ "specVersion": "0.1-313", "casesNumber": 1, "description": "Star-imported extension callable only", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json index 5b5279e732d..285a6749967 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/testsMap.json @@ -7,13 +7,15 @@ "casesNumber": 1, "description": "smart case for property `plus` available through the operator invoke", "path": "compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 8, "description": "properties available through the invoke convention are non-eligible for operator calls", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] }, @@ -23,49 +25,56 @@ "specVersion": "0.1-268", "casesNumber": 1, "description": "properties available through the invoke convention are non-eligible for operator calls", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 4, "description": "Extension callables declared in the package scope", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "Star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 10, "description": "Non-extension member callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "Star-imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "Non-extension member callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 4, "description": "Explicitly imported extension callables", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -78,7 +87,8 @@ "casesNumber": 1, "description": "smart case for property `plus` available through the operator invoke", "path": "compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.kt", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" } ] }, @@ -88,37 +98,43 @@ "specVersion": "0.1-268", "casesNumber": 4, "description": "Extension callables declared in the package scope", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "Star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 10, "description": "Non-extension member callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "Star-imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 5, "description": "Non-extension member callables", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-268", "casesNumber": 4, "description": "Explicitly imported extension callables", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/c-level-partition/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/c-level-partition/testsMap.json index 73f430adbf4..97db76c8f45 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/c-level-partition/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/c-level-partition/testsMap.json @@ -7,42 +7,48 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 3, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "extension calls with explicit and implicit receiver", "path": "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", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/testsMap.json index d4dd802866b..c03d84dfe82 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-268", "casesNumber": 2, "description": "A companion object of a classifier type named foo at its declaration site", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "9": [ @@ -15,13 +16,15 @@ "casesNumber": 2, "description": "A companion object of a classifier type named foo at its declaration site", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 2, "description": "An enum entry named foo at its declaration site prio", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "10": [ @@ -30,20 +33,23 @@ "casesNumber": 2, "description": "A companion object of a classifier type named foo at its declaration site", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/8.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 2, "description": "An enum entry named foo at its declaration site prio", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/callables-and-invoke-convention/p-2/pos/9.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 2, "description": "An enum entry named foo at its declaration site prio", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -56,7 +62,8 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -65,7 +72,8 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -78,7 +86,8 @@ "casesNumber": 5, "description": "sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/description/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/description/testsMap.json index ad33f65b30d..b2b0a6c7368 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/description/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/description/testsMap.json @@ -7,14 +7,16 @@ "casesNumber": 0, "description": "When and lambda with expected type", "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "No else returned from lambda expected int", "path": "compiler/testData/diagnostics/tests/when/NoElseReturnedFromLambdaExpectedInt.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -25,7 +27,8 @@ "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -38,7 +41,8 @@ "casesNumber": 0, "description": "When with nothing and lambdas", "path": "compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/rationale/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/rationale/testsMap.json index 059b9849e6b..c72e4947361 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/rationale/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/determining-function-applicability-for-a-specific-call/rationale/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Kt10439", "path": "compiler/testData/diagnostics/tests/when/kt10439.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/testsMap.json index 473ba158332..49d5e2acd58 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/testsMap.json @@ -7,21 +7,24 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -30,21 +33,24 @@ "casesNumber": 2, "description": "The sets of local extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "set of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-268", "casesNumber": 1, "description": "sets of non-extension member callables only", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -57,21 +63,24 @@ "casesNumber": 3, "description": "sets of local, explicitly imported, declared in the package scope and star-imported extension callables", "path": "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", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 2, "description": "The implicit this receiver has higher priority than phantom static implicit this", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-278", "casesNumber": 4, "description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "2": [ @@ -79,7 +88,8 @@ "specVersion": "0.1-278", "casesNumber": 2, "description": "The implicit this receiver has higher priority than phantom static implicit this", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -87,7 +97,8 @@ "specVersion": "0.1-278", "casesNumber": 4, "description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "5": [ @@ -95,7 +106,8 @@ "specVersion": "0.1-278", "casesNumber": 4, "description": "Superclass companion object receivers are prioritized according to the inheritance order", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "4": [ @@ -104,7 +116,8 @@ "casesNumber": 4, "description": "Superclass companion object receivers are prioritized according to the inheritance order", "path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/overloadable-operators/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/overloadable-operators/testsMap.json index bf8f3a29c54..5c079807f33 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overloadable-operators/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/overloadable-operators/testsMap.json @@ -7,14 +7,16 @@ "casesNumber": 1, "description": "\u003c, \u003e, \u003c\u003d and \u003e\u003d operators are overloadable", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 4, "description": "The compareTo operator function must have return type kotlin.Int", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -25,14 +27,16 @@ "casesNumber": 4, "description": "All comparison expressions always have type kotlin.Boolean.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-5/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-218", "casesNumber": 3, "description": "The return type of these functions is not restricted.", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/testsMap.json index 3dec9de84fc..6d6f33cf930 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-253", "casesNumber": 1, "description": "An operator assignment A+\u003dB", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -24,7 +26,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -34,7 +37,8 @@ "specVersion": "0.1-253", "casesNumber": 1, "description": "An operator assignment A+\u003dB", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -43,7 +47,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "3": [ @@ -52,7 +57,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -65,7 +71,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -76,7 +83,8 @@ "casesNumber": 1, "description": "An operator assignment A+\u003dB", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/simple-assignments/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/simple-assignments/testsMap.json index f7f32792a7f..b9de93d856c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/simple-assignments/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/simple-assignments/testsMap.json @@ -7,14 +7,16 @@ "casesNumber": 3, "description": "Check the expression is not assignable if a navigation expression referring to an unmutable property", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-222", "casesNumber": 2, "description": "Check the expression is not assignable if an identifier referring to an unmutable property", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/testsMap.json index b5b3cd0d9d2..ed1db7c865d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-222", "casesNumber": 4, "description": "Both left-hand and right-hand sides of an assignment must be expressions", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,13 +19,15 @@ "specVersion": "0.1-222", "casesNumber": 3, "description": "Check the expression is not assignable if a navigation expression referring to an unmutable property", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-222", "casesNumber": 2, "description": "Check the expression is not assignable if an identifier referring to an unmutable property", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -37,21 +40,24 @@ "casesNumber": 3, "description": "Check the expression is not assignable if a navigation expression referring to an unmutable property", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "check unsafe prefix increment expression call for an assignable expression", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-213", "casesNumber": 2, "description": "check unsafe prefix decrement expression call for an assignable expression", "path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ], "1": [ @@ -60,7 +66,8 @@ "casesNumber": 2, "description": "Check the expression is not assignable if an identifier referring to an unmutable property", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/testsMap.json index 74250a5af55..31d7e0c61ae 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-253", "casesNumber": 3, "description": "do-while-loop statement body contains zero statements", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -15,7 +16,8 @@ "casesNumber": 3, "description": "do-while-loop statement body contains zero statements", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -26,7 +28,8 @@ "casesNumber": 3, "description": "condition expression is not a subtype of kotlin.Boolean.", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -39,7 +42,8 @@ "casesNumber": 3, "description": "do-while-loop statement body contains zero statements", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -49,7 +53,8 @@ "specVersion": "0.1-253", "casesNumber": 3, "description": "condition expression is not a subtype of kotlin.Boolean.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/testsMap.json index 762cafc8ada..db2575af81b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-253", "casesNumber": 3, "description": "while-loop statement body contains zero statements", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -17,7 +18,8 @@ "casesNumber": 2, "description": "condition expression is not a subtype of kotlin.Boolean.", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -30,7 +32,8 @@ "casesNumber": 3, "description": "while-loop statement body contains zero statements", "path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] }, @@ -40,7 +43,8 @@ "specVersion": "0.1-253", "casesNumber": 2, "description": "condition expression is not a subtype of kotlin.Boolean.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/local-type-inference/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-inference/local-type-inference/testsMap.json index 984c6bf9e55..52d9bfd3603 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/local-type-inference/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/local-type-inference/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "When and lambda with expected type", "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -18,14 +19,16 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -38,14 +41,16 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/testsMap.json index 127db809764..59f709dcdcc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-268", "casesNumber": 1, "description": "smart case for property `plus` available through the operator invoke", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] }, @@ -16,7 +17,8 @@ "specVersion": "0.1-268", "casesNumber": 1, "description": "smart cast for the property available through the operator invoke", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json index e3853968c44..bbdeb5d4ef1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-types/testsMap.json @@ -7,49 +7,56 @@ "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check before", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check else", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Exhaustive with nullability check boolean", "path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBoolean.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -58,14 +65,16 @@ "casesNumber": 0, "description": "Branch false bypass", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch false bypass else", "path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -76,35 +85,40 @@ "casesNumber": 0, "description": "When type disjunctions", "path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive warning for sealed class", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningForSealedClass.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-152", "casesNumber": 0, "description": "Non exhaustive with nullability check", "path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWithNullabilityCheck.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "6": [ @@ -113,7 +127,8 @@ "casesNumber": 0, "description": "Branch bypass val", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "8": [ @@ -122,7 +137,8 @@ "casesNumber": 0, "description": "Branch bypass var", "path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/testsMap.json index 10b6d69999c..3163de6dfc8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/testsMap.json @@ -7,14 +7,16 @@ "casesNumber": 11, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", "path": "compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" }, { "specVersion": "0.1-296", "casesNumber": 9, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", "path": "compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } @@ -26,19 +28,22 @@ "specVersion": "0.1-100", "casesNumber": 11, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 5, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 15, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -50,7 +55,8 @@ "specVersion": "0.1-100", "casesNumber": 15, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -58,7 +64,8 @@ "specVersion": "0.1-296", "casesNumber": 13, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-nullable-types/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-nullable-types/testsMap.json index 075b756d3ee..0622bd0d057 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-nullable-types/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-nullable-types/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -16,7 +17,8 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-rules/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-rules/testsMap.json index c5eb6d7403f..adff903c87e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-rules/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-rules/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "When and lambda with expected type", "path": "compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -18,7 +19,8 @@ "casesNumber": 0, "description": "Kt10811", "path": "compiler/testData/diagnostics/tests/when/kt10811.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } 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 d4d94d91712..6c6443d3770 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 @@ -19,7 +19,8 @@ "casesNumber": 13, "description": "The use of Boolean literals as the identifier (with backtick) in the class.", "path": "compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "primary" } ] } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/type-parameters/testsMap.json b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/type-parameters/testsMap.json index dacfa21c791..8c6c35b5264 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/type-parameters/testsMap.json +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/type-parameters/testsMap.json @@ -7,7 +7,8 @@ "casesNumber": 0, "description": "Kt10809", "path": "compiler/testData/diagnostics/tests/when/kt10809.kt", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json index 7ce4563a1ed..6175776b708 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/binary-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscore breaking the prefix (in it).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,13 +15,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with not allowed symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with invalid or double prefixes.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -30,25 +33,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscore symbols in valid places.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscore symbol before the first digit (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscore symbol after the last digit.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscore symbols after binary prefix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -56,19 +63,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with invalid [2-9] digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with prefix only (without digit symbols).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with valid digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json index 44d3e5db00a..2d0d34d329c 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/decimal-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with not all decimal digit symbols", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -16,19 +17,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Integers with underscore symbols in the valid places.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Integers with underscore symbols before the first digit (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Integers with underscore symbol in the last position.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -36,7 +40,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Sequences with decimal digit symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json index 8df10d7edd2..cb271b3f060 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscore breaking the prefix (in it).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,13 +15,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with not allowed symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with invalid or double prefixes.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -30,25 +33,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscore symbols in valid places.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscore symbol before the first digit (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscore symbol after the last digit.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscore symbols after hexadecimal prefix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -56,13 +63,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with prefix only (without digit symbols).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with valid symbols.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/testsMap.json index 4ed323fd16b..3e45aacceb7 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/real-literals/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by not supported d/D (a double suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -18,19 +19,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Not allowed hexadecimal real literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "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).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Not allowed binary real literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -38,19 +42,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with not allowed symbols as a separator of a whole-number part and a fraction part.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals separeted by comments.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with not allowed several dots.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -58,19 +65,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "A float suffix in the real literals right after a dot.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "A float suffix in the real literals right after a several dots (possibly separated by digits).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a float suffix and not allowed symbols as a separator of a whole-number part and a fraction part.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" } ] }, @@ -80,13 +90,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a many digits in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -94,13 +106,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -112,25 +126,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with dots separated by underscores.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with float suffix not at the end and underscores at the different positions.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted whole-number part, float suffix not at the end and underscores at the different positions.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a not allowed underscore at the beginning.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -140,43 +158,50 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals without digits after an exponent mark and with undescores in the different pisitions.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "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.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores at the end.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores in a whole-number part and a fraction part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -184,19 +209,22 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores before an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores around an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with underscores after an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -208,7 +236,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted fraction part and digits followed by a float suffix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -216,31 +245,36 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with dots at the beginning and exponent mark/float suffix right after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with omitted whole-number part and not allowed several exponent marks.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted whole-number part and an exponent mark followed by a float suffix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted whole-number part and an exponent mark followed by a float suffix and digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals consisting only of dots or many dots before digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -248,7 +282,8 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a not allowed dot at the end.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -258,37 +293,43 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a whole-number part and an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals suffixed by f/F (float suffix) with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with omitted a whole-number part.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "2": [ @@ -296,25 +337,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with omitted a fraction part, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a fraction part and an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with omitted a fraction part and an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -326,25 +371,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (the float suffix) with not allowed several exponent marks.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a not allowed exponent mark with digits followed by a float suffix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a not allowed digits and exponent mark followed by a float suffix.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with not allowed several exponent marks.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -354,37 +403,43 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals with a not allowed exponent mark at the beginning.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals without digits after an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals suffixed by f/F (float suffix) with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Simple real literals with an exponent mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json index 148620bc25c..372d86e31fc 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/constant-literals/the-types-for-integer-literals/testsMap.json @@ -6,25 +6,29 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Various integer literals with a long literal mark in not allowed places.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Various integer literals with underscores after a long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "The long literal mark after not integer literals.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Various integer literals with a long literal mark doublicate.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -34,61 +38,71 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Decimal integer literals with underscores suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary prefix only suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Long literal mark in not allowed places (it\u0027s considered as identifiers).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Binary integer literals with underscores suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Various integer literals with long literal mark in not allowed lower case (but valid in opinion the parser).", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal prefix only suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Hexadecimal integer literals with underscores suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Decimal integer literals suffixed by the long literal mark.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } diff --git a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json index 270f2195a73..4d3449320ba 100644 --- a/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json +++ b/compiler/tests-spec/testData/psi/linked/expressions/when-expression/testsMap.json @@ -6,7 +6,8 @@ "specVersion": "0.1-201", "casesNumber": 0, "description": "\u0027When\u0027 with invalid else condition.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -14,13 +15,15 @@ "specVersion": "0.1-296", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and \u0027when condition\u0027 with type checking operator and non-type value.", - "unexpectedBehaviour": true + "unexpectedBehaviour": true, + "linkType": "main" }, { "specVersion": "0.1-296", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and type test condition, but missed type in \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "3": [ @@ -28,7 +31,8 @@ "specVersion": "0.1-296", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and \u0027when condition\u0027 with range expression, but without contains operator.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "9": [ @@ -36,7 +40,8 @@ "specVersion": "0.1-201", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and not allowed spread operator in \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -48,13 +53,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Empty \u0027when\u0027 with missed bound value.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Empty \u0027when\u0027 with missed \u0027when entries\u0027 section.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] }, @@ -64,13 +71,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "Empty \u0027when\u0027 with bound value.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "Empty \u0027when\u0027 without bound value.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -82,13 +91,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "\u0027When\u0027 without bound value and with invalid \u0027else\u0027 branch.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "\u0027When\u0027 without bound value and with invalid list of the boolean conditions in \u0027when entry\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ], "1": [ @@ -96,13 +107,15 @@ "specVersion": "0.1-100", "casesNumber": 0, "description": "\u0027When\u0027 without bound value and missed \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-100", "casesNumber": 0, "description": "\u0027When\u0027 without bound value and missed control structure body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } @@ -114,19 +127,22 @@ "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and empty \u0027when condition\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and with invalid list of the conditions in \u0027when entry\u0027.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" }, { "specVersion": "0.1-313", "casesNumber": 0, "description": "\u0027When\u0027 with bound value and empty control structure body.", - "unexpectedBehaviour": false + "unexpectedBehaviour": false, + "linkType": "main" } ] } 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 b8ac7648976..cc8acb9b2c3 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 @@ -35,7 +35,16 @@ object TestsJsonMapGenerator { return testsByType.getOrCreate(specPlace.sentenceNumber.toString()) } - private fun getTestInfo(test: LinkedSpecTest, testFile: File? = null) = + enum class LinkType{ + MAIN, + PRIMARY, + SECONDARY; + + override fun toString(): String { + return name.toLowerCase() + } + } + private fun getTestInfo(test: LinkedSpecTest, testFile: File? = null, linkType: LinkType = LinkType.MAIN) = JsonObject().apply { addProperty("specVersion", test.specVersion) addProperty("casesNumber", test.cases.byNumbers.size) @@ -45,6 +54,7 @@ object TestsJsonMapGenerator { "unexpectedBehaviour", test.unexpectedBehavior || test.cases.byNumbers.any { it.value.unexpectedBehavior } ) + addProperty("linkType", linkType.toString()) } private fun collectInfoFromSpecTests(testsMap: JsonObject) { @@ -54,7 +64,13 @@ object TestsJsonMapGenerator { 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) { - collectInfoFromTests(testsMap, specTest, getTestInfo(specTest), getTestInfo(specTest, file)) + collectInfoFromTestsTemp( + testsMap = testsMap, + specTest = specTest, + testInfoForMainLink = getTestInfo(specTest), + testInfoForPrimaryLink = getTestInfo(specTest, file, LinkType.PRIMARY), + testInfoForSecondaryLink = getTestInfo(specTest, file, LinkType.SECONDARY) + ) } } } @@ -80,9 +96,28 @@ object TestsJsonMapGenerator { testInfoForRelevantLink: JsonObject = testInfoForMainLink ) { testsMap.getOrCreateSpecTestObject(specTest.place, specTest.testArea, specTest.testType).add(testInfoForMainLink) - specTest.relevantPlaces?.forEach { + specTest.primaryLinks?.forEach { testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoForRelevantLink) } + specTest.secondaryLinks?.forEach { + testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoForRelevantLink) + } + } + + private fun collectInfoFromTestsTemp( //todo add same for implementation tests + testsMap: JsonObject, + specTest: LinkedSpecTest, + testInfoForMainLink: JsonObject, + testInfoForPrimaryLink: JsonObject = testInfoForMainLink, + testInfoForSecondaryLink: JsonObject = testInfoForMainLink + ) { + testsMap.getOrCreateSpecTestObject(specTest.place, specTest.testArea, specTest.testType).add(testInfoForMainLink) + specTest.primaryLinks?.forEach { + testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoForPrimaryLink) + } + specTest.secondaryLinks?.forEach { + testsMap.getOrCreateSpecTestObject(it, specTest.testArea, specTest.testType).add(testInfoForSecondaryLink) + } } fun buildTestsMapPerSection() { 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 01d3dc42d34..79a07bb76b2 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 @@ -41,7 +41,8 @@ class LinkedSpecTest( testArea: TestArea, testType: TestType, val place: SpecPlace, - val relevantPlaces: Set?, + val primaryLinks: Set?, + val secondaryLinks: Set?, testNumber: Int, description: String, cases: SpecTestCasesSet, @@ -80,7 +81,8 @@ class LinkedSpecTest( append("${testArea.name.withSpaces()} $testType SPEC TEST (${testType.toString().withSpaces()})$ls") append("SPEC VERSION: $specVersion$ls") append("SPEC PLACE: ${sections.joinToString()} -> paragraph: ${place.paragraphNumber} -> sentence: ${place.sentenceNumber}$ls") - relevantPlaces?.let { append("OTHER RELEVANT SPEC PLACES:${it.joinToString { "$ls\t${sections.joinToString()} -> paragraph: ${place.paragraphNumber} -> sentence: ${place.sentenceNumber}" }}$ls") } + primaryLinks?.let { append("PRIMARY LINKS:${it.joinToString { "$ls\t${sections.joinToString()} -> paragraph: ${place.paragraphNumber} -> sentence: ${place.sentenceNumber}" }}$ls") } + secondaryLinks?.let { append("SECONDARY LINKS:${it.joinToString { "$ls\t${sections.joinToString()} -> paragraph: ${place.paragraphNumber} -> sentence: ${place.sentenceNumber}" }}$ls") } append("NUMBER: $testNumber$ls") append("TEST CASES: ${cases.byNumbers.size.coerceAtLeast(1)}$ls") append("DESCRIPTION: $description$ls") 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 ce02ff9c76a..26bbc2b1128 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 @@ -69,19 +69,20 @@ object CommonParser { } fun parseLinkedSpecTest(testFilePath: String, testFiles: TestFiles, isImplementationTest: Boolean = false): LinkedSpecTest { - val relevantPlaces = mutableSetOf() + val primaryLinks = mutableSetOf() + val secondaryLinks = mutableSetOf() val parsedTestFile = tryParseTestInfo(testFilePath, testFiles, SpecTestLinkedType.LINKED, isImplementationTest) val testInfoElements = parsedTestFile.testInfoElements parseRelevantPlaces( testInfoElements[LinkedSpecTestFileInfoElementType.PRIMARY_LINKS]?.additionalMatcher, - relevantPlaces + primaryLinks ) parseRelevantPlaces( testInfoElements[LinkedSpecTestFileInfoElementType.SECONDARY_LINKS]?.additionalMatcher, - relevantPlaces + secondaryLinks ) val placeMatcher = testInfoElements[LinkedSpecTestFileInfoElementType.MAIN_LINK]?.additionalMatcher @@ -90,15 +91,16 @@ object CommonParser { if (placeMatcher != null) { mainPlace = createSpecPlace(placeMatcher) } else { - mainPlace = relevantPlaces.first() - relevantPlaces.remove(mainPlace) + mainPlace = primaryLinks.first() + primaryLinks.remove(mainPlace) } return LinkedSpecTest( testInfoElements[LinkedSpecTestFileInfoElementType.SPEC_VERSION]!!.content, parsedTestFile.testArea, parsedTestFile.testType, mainPlace, - relevantPlaces, + primaryLinks, + secondaryLinks, parsedTestFile.testNumber, parsedTestFile.testDescription, parsedTestFile.testCasesSet,