Relinking spec tests

This commit is contained in:
victor.petukhov
2019-08-12 12:06:17 +03:00
parent 8465d690f1
commit d8e5b068d5
590 changed files with 3720 additions and 10085 deletions
@@ -1,13 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* UNEXPECTED BEHAVIOUR
* HELPERS: reflect
* HELPERS: REFLECT
*/
open class `true` {
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 10
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the companionObject.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package org.jetbrains.`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 11
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
fun `true`(): Boolean {
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 12
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the setter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
class A {
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 13
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the simpleUserType.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package org.jetbrains.`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 14
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeParameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package org.jetbrains.`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 15
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the parameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
fun f1(`true`: Boolean) = !!!`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 16
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
@file:[org.jetbrains.`true`.`false`() `true`]
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 17
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the object.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
open class A {
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 18
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeAlias.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
typealias `true` = Boolean
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 19
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the import.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelReference.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 20
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 21
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the catchBlock.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 22
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelDefinition.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 23
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the atomicExpression.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -3,8 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 24
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -3,8 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 25
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the valueArgument.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 26
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the callableReference.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
val Boolean.`true`: Boolean
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeConstraint.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
class A <`true`, `false`>
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 4
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
@file:`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 5
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package org.jetbrains.`true`
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 6
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package `true`
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 7
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the enumEntry.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 8
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -1,12 +1,12 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 2
* NUMBER: 9
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
* HELPERS: REFLECT
*/
package org.jetbrains.`true`
@@ -0,0 +1,164 @@
{
"1": {
"pos": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the companionObject.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the class.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the typeParameter.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the packageComplex.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the catchBlock.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the parameter.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the function.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the valueArgument.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the typeAlias.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the import.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the labelDefinition.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the enumEntry.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the setter.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the callableReference.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the typeConstraint.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the simpleUserType.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the labelReference.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the atomicExpression.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the object.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "The use of Boolean literals as the identifier (with backtick) in the packageSimple.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols separated by underscores.
*/
@@ -0,0 +1,22 @@
{
"1": {
"pos": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with binary digit symbols separated by underscores.",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with binary digit symbols.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols separated by underscores.
*/
@@ -0,0 +1,22 @@
{
"1": {
"pos": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with decimal digit symbols separated by underscores.",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with decimal digit symbols.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols separated by underscores.
*/
@@ -0,0 +1,22 @@
{
"1": {
"pos": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with hexadecimal digit symbols separated by underscores.",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Sequences with hexadecimal digit symbols.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with a different whole-number part and fraction part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 3
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3
* NUMBER: 1
* DESCRIPTION: Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with an exponent mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with omitted a whole-number part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 4
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix).
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Real literals with omitted a fraction part and an exponent mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 2
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix).
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 4 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 4 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 4 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 4 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1
* NUMBER: 4
* DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 4 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1
* NUMBER: 5
* DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part.
*/
@@ -0,0 +1,126 @@
{
"1": {
"pos": {
"3": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Simple real literals suffixed by f/F (the float suffix) with a different whole-number part and fraction part.",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Simple real literals with a different whole-number part and fraction part.",
"unexpectedBehaviour": false
}
]
}
},
"4": {
"pos": {
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with underscores in a whole-number part and a fraction part.",
"unexpectedBehaviour": false
}
]
}
},
"3": {
"pos": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Simple real literals with omitted a fraction part, suffixed by f/F (float suffix).",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix).",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with omitted a fraction part and an exponent mark.",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals with omitted a whole-number part and an exponent mark.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Simple real literals with omitted a whole-number part.",
"unexpectedBehaviour": false
}
]
}
},
"2": {
"pos": {
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Real literals suffixed by f/F (float suffix) with an exponent mark.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Simple real literals with an exponent mark.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Decimal integer literals with long literal mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Hexadecimal integer literals with long literal mark.
*/
@@ -1,8 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Binary integer literals with long literal mark.
*/
@@ -0,0 +1,26 @@
{
"1": {
"pos": {
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Hexadecimal integer literals with long literal mark.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Binary integer literals with long literal mark.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 0,
"description": "Decimal integer literals with long literal mark.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 1
* DESCRIPTION: Type annotations on return type with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -6,7 +6,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 10
* DESCRIPTION: Type annotations on a lambda type with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 11
* DESCRIPTION: Type annotations with invalid target.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28449
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 2
* DESCRIPTION: Type annotations on supertypes with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 3
* DESCRIPTION: Type annotations on parameter types with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 4
* DESCRIPTION: Type annotations on type arguments for a containing type of return type, with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 5
* DESCRIPTION: Type annotations on upper bounds with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 6
* DESCRIPTION: Type annotations inside type check and cast expression with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 7
* DESCRIPTION: Type annotations on a type in an anonymous object expression, with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 8
* DESCRIPTION: Type annotations on a receiver type (for an extension property only), with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: annotations, type-annotations
* NUMBER: 9
* DESCRIPTION: Type annotations on a setter argument type with unresolved reference in parameters.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-28424
*/
@@ -4,7 +4,6 @@
* SECTIONS: objects, inheritance
* NUMBER: 1
* DESCRIPTION: Access to class members in the super constructor call of an object.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-25289
*/
@@ -4,7 +4,6 @@
* SECTIONS: objects, inheritance
* NUMBER: 2
* DESCRIPTION: Access to class members in the super constructor call of an object.
* UNEXPECTED BEHAVIOUR
* ISSUES: KT-25289
*/
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* NUMBER: 1
* DESCRIPTION: Checking of type for Boolean values
@@ -2,11 +2,11 @@ package
public fun case_1(): kotlin.Unit
public fun </*0*/ T> checkSubtype(/*0*/ t: T): T
public fun </*0*/ E> Inv<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: Inv<T>.() -> kotlin.Unit): kotlin.Unit
public fun </*0*/ E> CheckType<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: CheckType<T>.() -> kotlin.Unit): kotlin.Unit
public final class Inv</*0*/ T> {
public constructor Inv</*0*/ T>()
public final class CheckType</*0*/ T> {
public constructor CheckType</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* NUMBER: 1
* DESCRIPTION: Checking of type for Boolean values
@@ -2,11 +2,11 @@ package
public fun case_1(): kotlin.Unit
public fun </*0*/ T> checkSubtype(/*0*/ t: T): T
public fun </*0*/ E> Inv<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: Inv<T>.() -> kotlin.Unit): kotlin.Unit
public fun </*0*/ E> CheckType<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: CheckType<T>.() -> kotlin.Unit): kotlin.Unit
public final class Inv</*0*/ T> {
public constructor Inv</*0*/ T>()
public final class CheckType</*0*/ T> {
public constructor CheckType</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* NUMBER: 2
* DESCRIPTION: Checking of subtype for Boolean values
@@ -2,11 +2,11 @@ package
public fun case_1(): kotlin.Unit
public fun </*0*/ T> checkSubtype(/*0*/ t: T): T
public fun </*0*/ E> Inv<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: Inv<T>.() -> kotlin.Unit): kotlin.Unit
public fun </*0*/ E> CheckType<E>.check(): kotlin.Unit
public infix fun </*0*/ T> T.checkType(/*0*/ f: CheckType<T>.() -> kotlin.Unit): kotlin.Unit
public final class Inv</*0*/ T> {
public constructor Inv</*0*/ T>()
public final class CheckType</*0*/ T> {
public constructor CheckType</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -0,0 +1,30 @@
{
"1": {
"neg": {
"3": [
{
"specVersion": "0.1-100",
"casesNumber": 1,
"description": "Checking of type for Boolean values",
"unexpectedBehaviour": false
}
]
},
"pos": {
"3": [
{
"specVersion": "0.1-100",
"casesNumber": 1,
"description": "Checking of type for Boolean values",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 1,
"description": "Checking of subtype for Boolean values",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Binary integer literals with the prefix only.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Binary integer literals with an underscore after the prefix.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Binary integer literals with an underscore in the first position (it's considered as identifiers).
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Binary integer literals with an underscore in the last position.
@@ -0,0 +1,34 @@
{
"1": {
"neg": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 4,
"description": "Binary integer literals with an underscore after the prefix.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 7,
"description": "Binary integer literals with an underscore in the last position.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 11,
"description": "Binary integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 2,
"description": "Binary integer literals with the prefix only.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,23 +1,32 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Integer literals with an underscore in the last position.
* DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers).
*/
// TESTCASE NUMBER: 1
val value_1 = <!ILLEGAL_UNDERSCORE!>1_<!>
val value_1 = <!UNRESOLVED_REFERENCE!>_5678_90<!>
// TESTCASE NUMBER: 2
val value_2 = <!ILLEGAL_UNDERSCORE!>1_00000000000000000_<!>
val value_2 = <!UNRESOLVED_REFERENCE!>_2_3_4_5_6_7_8_9_<!>
// TESTCASE NUMBER: 3
val value_3 = <!ILLEGAL_UNDERSCORE!>1_____________<!>
val value_3 = <!UNRESOLVED_REFERENCE!>_____________0000<!>
// TESTCASE NUMBER: 4
val value_4 = <!ILLEGAL_UNDERSCORE!>9____________0_<!>
val value_4 = <!UNRESOLVED_REFERENCE!>_______________________________________________________________________________________________________________________________________________________0<!>
// TESTCASE NUMBER: 5
val value_5 = <!ILLEGAL_UNDERSCORE!>1_______________________________________________________________________________________________________________________________________________________<!>
val value_5 = <!UNRESOLVED_REFERENCE!>____________________________________________________<!>
// TESTCASE NUMBER: 6
val value_6 = <!UNRESOLVED_REFERENCE!>_<!>
// TESTCASE NUMBER: 7
val value_7 = <!UNRESOLVED_REFERENCE!>_0_<!>
// TESTCASE NUMBER: 8
val value_8 = <!UNRESOLVED_REFERENCE!>_9_<!>
@@ -1,7 +1,10 @@
package
public val value_1: kotlin.Int = 1
public val value_2: kotlin.Long = 100000000000000000.toLong()
public val value_3: kotlin.Int = 1
public val value_4: kotlin.Int = 90
public val value_5: kotlin.Int = 1
public val value_1: [ERROR : Type for _5678_90]
public val value_2: [ERROR : Type for _2_3_4_5_6_7_8_9_]
public val value_3: [ERROR : Type for _____________0000]
public val value_4: [ERROR : Type for _______________________________________________________________________________________________________________________________________________________0]
public val value_5: [ERROR : Type for ____________________________________________________]
public val value_6: [ERROR : Type for _]
public val value_7: [ERROR : Type for _0_]
public val value_8: [ERROR : Type for _9_]
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers).
@@ -0,0 +1,32 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Integer literals with an underscore in the first position (it's considered as identifiers).
*/
// TESTCASE NUMBER: 1
val value_1 = <!UNRESOLVED_REFERENCE!>_5678_90<!>
// TESTCASE NUMBER: 2
val value_2 = <!UNRESOLVED_REFERENCE!>_2_3_4_5_6_7_8_9_<!>
// TESTCASE NUMBER: 3
val value_3 = <!UNRESOLVED_REFERENCE!>_____________0000<!>
// TESTCASE NUMBER: 4
val value_4 = <!UNRESOLVED_REFERENCE!>_______________________________________________________________________________________________________________________________________________________0<!>
// TESTCASE NUMBER: 5
val value_5 = <!UNRESOLVED_REFERENCE!>____________________________________________________<!>
// TESTCASE NUMBER: 6
val value_6 = <!UNRESOLVED_REFERENCE!>_<!>
// TESTCASE NUMBER: 7
val value_7 = <!UNRESOLVED_REFERENCE!>_0_<!>
// TESTCASE NUMBER: 8
val value_8 = <!UNRESOLVED_REFERENCE!>_9_<!>
@@ -0,0 +1,10 @@
package
public val value_1: [ERROR : Type for _5678_90]
public val value_2: [ERROR : Type for _2_3_4_5_6_7_8_9_]
public val value_3: [ERROR : Type for _____________0000]
public val value_4: [ERROR : Type for _______________________________________________________________________________________________________________________________________________________0]
public val value_5: [ERROR : Type for ____________________________________________________]
public val value_6: [ERROR : Type for _]
public val value_7: [ERROR : Type for _0_]
public val value_8: [ERROR : Type for _9_]
@@ -0,0 +1,26 @@
{
"1": {
"neg": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 8,
"description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 8,
"description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 8,
"description": "Integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Hexadecimal integer literals with the prefix only.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Hexadecimal integer literals with an underscore after the prefix.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Hexadecimal integer literals with an underscore in the first position (it's considered as identifiers).
@@ -1,29 +1,41 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Hexadecimal integer literals with an underscore in the last position.
* DESCRIPTION: Hexadecimal integer literals with an underscore in the first position (it's considered as identifiers).
*/
// TESTCASE NUMBER: 1
val value_1 = <!ILLEGAL_UNDERSCORE!>0x3_4_5_6_7_8_____<!>
val value_1 = <!UNRESOLVED_REFERENCE!>_____0x3_4_5_6_7_8<!>
// TESTCASE NUMBER: 2
val value_2 = <!ILLEGAL_UNDERSCORE!>0X4_______5_______6_______7_<!>
val value_2 = <!UNRESOLVED_REFERENCE!>_0X4_______5_______6_______7<!>
// TESTCASE NUMBER: 3
val value_3 = <!ILLEGAL_UNDERSCORE!>0X000000000_<!>
val value_3 = <!UNRESOLVED_REFERENCE!>_0_0X4_3_4_5_6_7_8_9<!>
// TESTCASE NUMBER: 4
val value_4 = <!UNRESOLVED_REFERENCE!>_0X000000000<!>
// TESTCASE NUMBER: 5
val value_5 = <!ILLEGAL_UNDERSCORE, INT_LITERAL_OUT_OF_RANGE!>0x_<!>
val value_5 = <!UNRESOLVED_REFERENCE!>_0000000000x<!>
// TESTCASE NUMBER: 6
val value_6 = <!ILLEGAL_UNDERSCORE, INT_LITERAL_OUT_OF_RANGE!>0X______________<!>
val value_6 = <!UNRESOLVED_REFERENCE!>_0_9x<!>
// TESTCASE NUMBER: 7
val value_7 = <!ILLEGAL_UNDERSCORE!>0X0_<!>
val value_7 = <!UNRESOLVED_REFERENCE!>____________0x<!>
// TESTCASE NUMBER: 8
val value_8 = <!ILLEGAL_UNDERSCORE!>0X10_<!>
val value_8 = <!UNRESOLVED_REFERENCE!>_0_x_0<!>
// TESTCASE NUMBER: 9
val value_9 = <!UNRESOLVED_REFERENCE!>_x_0<!>
// TESTCASE NUMBER: 10
val value_10 = <!UNRESOLVED_REFERENCE!>_x<!>
// TESTCASE NUMBER: 11
val value_11 = <!UNRESOLVED_REFERENCE!>_x_<!>
@@ -1,9 +1,13 @@
package
public val value_1: kotlin.Int = 3430008
public val value_2: kotlin.Int = 17767
public val value_3: kotlin.Int = 0
public val value_5: kotlin.Int
public val value_6: kotlin.Int
public val value_7: kotlin.Int = 0
public val value_8: kotlin.Int = 16
public val value_1: [ERROR : Type for _____0x3_4_5_6_7_8]
public val value_10: [ERROR : Type for _x]
public val value_11: [ERROR : Type for _x_]
public val value_2: [ERROR : Type for _0X4_______5_______6_______7]
public val value_3: [ERROR : Type for _0_0X4_3_4_5_6_7_8_9]
public val value_4: [ERROR : Type for _0X000000000]
public val value_5: [ERROR : Type for _0000000000x]
public val value_6: [ERROR : Type for _0_9x]
public val value_7: [ERROR : Type for ____________0x]
public val value_8: [ERROR : Type for _0_x_0]
public val value_9: [ERROR : Type for _x_0]
@@ -0,0 +1,29 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 4
* DESCRIPTION: Hexadecimal integer literals with an underscore in the last position.
*/
// TESTCASE NUMBER: 1
val value_1 = <!ILLEGAL_UNDERSCORE!>0x3_4_5_6_7_8_____<!>
// TESTCASE NUMBER: 2
val value_2 = <!ILLEGAL_UNDERSCORE!>0X4_______5_______6_______7_<!>
// TESTCASE NUMBER: 3
val value_3 = <!ILLEGAL_UNDERSCORE!>0X000000000_<!>
// TESTCASE NUMBER: 5
val value_5 = <!ILLEGAL_UNDERSCORE, INT_LITERAL_OUT_OF_RANGE!>0x_<!>
// TESTCASE NUMBER: 6
val value_6 = <!ILLEGAL_UNDERSCORE, INT_LITERAL_OUT_OF_RANGE!>0X______________<!>
// TESTCASE NUMBER: 7
val value_7 = <!ILLEGAL_UNDERSCORE!>0X0_<!>
// TESTCASE NUMBER: 8
val value_8 = <!ILLEGAL_UNDERSCORE!>0X10_<!>
@@ -0,0 +1,9 @@
package
public val value_1: kotlin.Int = 3430008
public val value_2: kotlin.Int = 17767
public val value_3: kotlin.Int = 0
public val value_5: kotlin.Int
public val value_6: kotlin.Int
public val value_7: kotlin.Int = 0
public val value_8: kotlin.Int = 16
@@ -0,0 +1,40 @@
{
"1": {
"neg": {
"2": [
{
"specVersion": "0.1-100",
"casesNumber": 4,
"description": "Hexadecimal integer literals with an underscore after the prefix.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 7,
"description": "Hexadecimal integer literals with an underscore in the last position.",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 11,
"description": "Hexadecimal integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-100",
"casesNumber": 11,
"description": "Hexadecimal integer literals with an underscore in the first position (it\u0027s considered as identifiers).",
"unexpectedBehaviour": false
}
],
"1": [
{
"specVersion": "0.1-100",
"casesNumber": 2,
"description": "Hexadecimal integer literals with the prefix only.",
"unexpectedBehaviour": false
}
]
}
}
}
@@ -1,13 +0,0 @@
/*
* This file is generated by {@link org.jetbrains.kotlin.spec.tasks.generateTests}. DO NOT MODIFY MANUALLY.
* This file is used in the HTML version of the Kotlin Specification (https://kotlin.github.io/kotlin-spec) to show tests coverage for sentences.
*
* Content format:
*
* {paragraphNumber}
* {testType: neg|pos}: {sentenceNumber}-{numberOfTests|testPathToAnotherSection}, ...
*/
1
neg: 2-5, 1-3
pos: 2-5
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Real literals separeted by comments.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3
* NUMBER: 1
* DESCRIPTION: Real literals suffixed by f/F (float suffix) separeted by comments.
@@ -1,7 +1,7 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-draft
* SPEC VERSION: 0.1-100
* PLACE: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with a different whole-number part and fraction part.

Some files were not shown because too many files have changed in this diff Show More