[Spec tests] Update tests with spec version 0.1-313
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Annotated when statement",
|
||||
"path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt",
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive break continue",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt",
|
||||
|
||||
+6
-6
@@ -107,21 +107,21 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
@@ -130,21 +130,21 @@
|
||||
],
|
||||
"3": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
|
||||
+13
-13
@@ -1,17 +1,4 @@
|
||||
{
|
||||
"9": {
|
||||
"pos": {
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-220",
|
||||
"casesNumber": 0,
|
||||
"description": "Correct info after array like call",
|
||||
"path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"pos": {
|
||||
"1": [
|
||||
@@ -24,5 +11,18 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"pos": {
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-220",
|
||||
"casesNumber": 0,
|
||||
"description": "Correct info after array like call",
|
||||
"path": "compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean
|
||||
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, conditional-expression -> paragraph 6 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean
|
||||
|
||||
Vendored
+2
-2
@@ -3,7 +3,7 @@
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 3,
|
||||
"description": "The type of the condition expression must be a subtype of kotlin.Boolean",
|
||||
"unexpectedBehaviour": true
|
||||
@@ -13,7 +13,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "The type of the condition expression must be a subtype of kotlin.Boolean",
|
||||
"unexpectedBehaviour": false
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, jump-expressions, return-expressions -> paragraph 5 -> sentence 2
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, jump-expressions, return-expressions -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: check returning is not allowed from run{...}
|
||||
*/
|
||||
+3
-3
@@ -11,11 +11,11 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"4": {
|
||||
"neg": {
|
||||
"2": [
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "check returning is not allowed from run{...}",
|
||||
"unexpectedBehaviour": false
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2
|
||||
* NUMBER: 1
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2
|
||||
* NUMBER: 1
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 7,
|
||||
"description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -11,7 +11,7 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 7,
|
||||
"description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.kt",
|
||||
@@ -22,7 +22,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -30,7 +30,7 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.kt",
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2
|
||||
* NUMBER: 1
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2
|
||||
* NUMBER: 1
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 7,
|
||||
"description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -11,7 +11,7 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 7,
|
||||
"description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error.",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.kt",
|
||||
@@ -22,7 +22,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -30,7 +30,7 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.kt",
|
||||
|
||||
+35
-35
@@ -21,7 +21,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt",
|
||||
@@ -35,14 +35,14 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum with smart cast",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt",
|
||||
@@ -106,7 +106,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt",
|
||||
@@ -120,21 +120,21 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean brackets",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean complex",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt",
|
||||
@@ -186,28 +186,28 @@
|
||||
],
|
||||
"4": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean brackets",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean complex",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt",
|
||||
@@ -244,7 +244,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum mixed",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt",
|
||||
@@ -279,28 +279,28 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum is",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive break continue",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum with smart cast",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt",
|
||||
@@ -309,21 +309,21 @@
|
||||
],
|
||||
"5": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean brackets",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean complex",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt",
|
||||
@@ -377,7 +377,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
|
||||
@@ -391,7 +391,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum null",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt",
|
||||
@@ -418,7 +418,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt",
|
||||
@@ -446,7 +446,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt",
|
||||
@@ -482,7 +482,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
@@ -507,14 +507,14 @@
|
||||
],
|
||||
"9": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt",
|
||||
@@ -542,21 +542,21 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
|
||||
@@ -570,7 +570,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum annotated",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt",
|
||||
@@ -591,7 +591,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum null",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt",
|
||||
@@ -607,7 +607,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
@@ -623,7 +623,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
@@ -657,7 +657,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass val",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt",
|
||||
@@ -685,7 +685,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass var",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt",
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: it is possible to replace the else condition with an always-true condition
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: it is possible to replace the else condition with an always-true condition
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-100
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 5 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: 'When' with bound value and with different variants of expressions in the control structure body.
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-100
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 5 -> sentence 1
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: 'When' with bound value and allowed break and continue expression (without labels) in the control structure body.
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-201
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 6 -> sentence 7
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: 'When' with bound value and with else branch not in the last position.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-201
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, when-expression -> paragraph 6 -> sentence 7
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: 'When' with bound value and else branch.
|
||||
|
||||
+51
-51
@@ -30,7 +30,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass val",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt",
|
||||
@@ -44,21 +44,21 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass var",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum mixed",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum is",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt",
|
||||
@@ -95,7 +95,7 @@
|
||||
],
|
||||
"7": [
|
||||
{
|
||||
"specVersion": "0.1-201",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 3,
|
||||
"description": "\u0027When\u0027 with bound value and with else branch not in the last position.",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -132,21 +132,21 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum mixed",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt",
|
||||
@@ -214,14 +214,14 @@
|
||||
"unexpectedBehaviour": true
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt",
|
||||
@@ -265,7 +265,7 @@
|
||||
],
|
||||
"7": [
|
||||
{
|
||||
"specVersion": "0.1-201",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 3,
|
||||
"description": "\u0027When\u0027 with bound value and else branch.",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -281,7 +281,7 @@
|
||||
],
|
||||
"5": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Annotated when statement",
|
||||
"path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt",
|
||||
@@ -295,7 +295,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
|
||||
@@ -324,14 +324,14 @@
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt",
|
||||
@@ -340,14 +340,14 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt",
|
||||
@@ -360,7 +360,7 @@
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": " it is possible to replace the else condition with an always-true condition",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -370,7 +370,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-218",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": " it is possible to replace the else condition with an always-true condition",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -488,7 +488,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Comma in when condition without argument",
|
||||
"path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt",
|
||||
@@ -504,7 +504,7 @@
|
||||
],
|
||||
"4": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Duplicated labels",
|
||||
"path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt",
|
||||
@@ -513,7 +513,7 @@
|
||||
],
|
||||
"5": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Duplicated labels",
|
||||
"path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt",
|
||||
@@ -526,33 +526,33 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-100",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "\u0027When\u0027 with bound value and allowed break and continue expression (without labels) in the control structure body.",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-100",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 25,
|
||||
"description": "\u0027When\u0027 with bound value and with different variants of expressions in the control structure body.",
|
||||
"unexpectedBehaviour": true
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Annotated when statement",
|
||||
"path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumElse.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt",
|
||||
@@ -580,7 +580,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Duplicated labels",
|
||||
"path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt",
|
||||
@@ -601,35 +601,35 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Comma in when condition without argument",
|
||||
"path": "compiler/testData/diagnostics/tests/when/CommaInWhenConditionWithoutArgument.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
|
||||
@@ -650,7 +650,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum annotated",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumAnnotated.kt",
|
||||
@@ -685,7 +685,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive no initialization",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
|
||||
@@ -706,7 +706,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive platform enum null",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumNull.kt",
|
||||
@@ -724,7 +724,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean nullable",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanNullable.kt",
|
||||
@@ -752,7 +752,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass val",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt",
|
||||
@@ -773,7 +773,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean brackets",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanBrackets.kt",
|
||||
@@ -787,7 +787,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean complex",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBooleanComplex.kt",
|
||||
@@ -822,14 +822,14 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive boolean",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBoolean.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass var",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt",
|
||||
@@ -857,21 +857,21 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpressionEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum mixed",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumMixed.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Empty condition with expression",
|
||||
"path": "compiler/testData/diagnostics/tests/when/EmptyConditionWithExpression.kt",
|
||||
@@ -913,7 +913,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive enum is",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveEnumIs.kt",
|
||||
@@ -927,7 +927,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Exhaustive break continue",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt",
|
||||
@@ -941,14 +941,14 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnum.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Else on nullable enum with smart cast",
|
||||
"path": "compiler/testData/diagnostics/tests/when/ElseOnNullableEnumWithSmartCast.kt",
|
||||
@@ -961,7 +961,7 @@
|
||||
"pos": {
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Annotated when statement",
|
||||
"path": "compiler/testData/diagnostics/tests/when/AnnotatedWhenStatement.kt",
|
||||
@@ -977,7 +977,7 @@
|
||||
],
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Duplicated labels",
|
||||
"path": "compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt",
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-268
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 3
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4
|
||||
* RELEVANT PLACES: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2
|
||||
* overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5
|
||||
+47
-47
@@ -38,110 +38,110 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.4.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.5.kt",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.5.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 6,
|
||||
"description": "Local extension infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.1.kt",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.2.kt",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.4.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Explicitly imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/3.3.kt",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.2.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"3": [
|
||||
"4": [
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 6,
|
||||
"description": "Local extension infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Explicitly imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"neg": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"casesNumber": 1,
|
||||
"description": "Star-imported extension callable only",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/3.5.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Explicitly imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Star-imported extension callable only",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Star-imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Implicitly imported extension callable without infix modifier",
|
||||
"unexpectedBehaviour": false
|
||||
@@ -149,30 +149,30 @@
|
||||
],
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Local extension infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 2,
|
||||
"description": "Explicitly imported infix extension callables",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 4,
|
||||
"description": "Implicitly imported extension callable without infix modifier",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"3": [
|
||||
"4": [
|
||||
{
|
||||
"specVersion": "0.1-268",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 1,
|
||||
"description": "Star-imported extension callable only",
|
||||
"unexpectedBehaviour": false
|
||||
|
||||
+8
-8
@@ -3,7 +3,7 @@
|
||||
"pos": {
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt",
|
||||
@@ -24,7 +24,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt",
|
||||
@@ -54,14 +54,14 @@
|
||||
],
|
||||
"8": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypass.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch false bypass else",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchFalseBypassElse.kt",
|
||||
@@ -79,7 +79,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass val",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt",
|
||||
@@ -93,7 +93,7 @@
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass var",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt",
|
||||
@@ -109,7 +109,7 @@
|
||||
],
|
||||
"6": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass val",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVal.kt",
|
||||
@@ -118,7 +118,7 @@
|
||||
],
|
||||
"8": [
|
||||
{
|
||||
"specVersion": "0.1-152",
|
||||
"specVersion": "0.1-313",
|
||||
"casesNumber": 0,
|
||||
"description": "Branch bypass var",
|
||||
"path": "compiler/testData/diagnostics/tests/when/BranchBypassVar.kt",
|
||||
|
||||
Reference in New Issue
Block a user