[Spec tests] Add linkType element to testMaps
This commit is contained in:
Vendored
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,7 +6,8 @@
|
||||
"specVersion": "0.1-213",
|
||||
"casesNumber": 4,
|
||||
"description": "Check of Unit type",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+6
-3
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+16
-8
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+10
-5
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+36
-18
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+8
-4
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+6
-3
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+10
-5
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+76
-38
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+26
-13
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+8
-4
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+8
-4
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,7 +6,8 @@
|
||||
"specVersion": "0.1-218",
|
||||
"casesNumber": 2,
|
||||
"description": "No additional restrictions apply for unary minus",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,7 +6,8 @@
|
||||
"specVersion": "0.1-218",
|
||||
"casesNumber": 2,
|
||||
"description": "No additional restrictions apply for unary minus",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,7 +6,8 @@
|
||||
"specVersion": "0.1-218",
|
||||
"casesNumber": 2,
|
||||
"description": "No additional restrictions apply for unary plus",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+58
-29
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+208
-104
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+288
-144
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user