Support several spec places to which tests are linked and require specify spec version for each test

This commit is contained in:
victor.petukhov
2018-12-28 15:19:20 +03:00
parent cb5f497cbe
commit acd6d354dc
341 changed files with 736 additions and 1039 deletions
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -3,9 +3,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* SPEC VERSION: 0.1-draft
* PLACES: 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!
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols separated by underscores.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols separated by underscores.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols separated by underscores.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Decimal integer literals with long literal mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Hexadecimal integer literals with long literal mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Binary integer literals with long literal mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [1] A real literal consists of the following parts: the whole-number part, the decimal point (ASCII period character .), the fraction part and the exponent.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with a different whole-number part and fraction part.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [3] A real literal may also be followed by a type suffix (f or F).
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with omitted a whole-number part.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACES: constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Real literals with omitted a fraction part and an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 4
* SENTENCE: [1] The digits of the whole-number part or the fraction part or the exponent may be optionally separated by underscores, but an underscore may not be placed between, before, or after these parts.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 4
* SENTENCE: [1] The digits of the whole-number part or the fraction part or the exponent may be optionally separated by underscores, but an underscore may not be placed between, before, or after these parts.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 4
* SENTENCE: [1] The digits of the whole-number part or the fraction part or the exponent may be optionally separated by underscores, but an underscore may not be placed between, before, or after these parts.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 4
* SENTENCE: [1] The digits of the whole-number part or the fraction part or the exponent may be optionally separated by underscores, but an underscore may not be placed between, before, or after these parts.
* SPEC VERSION: 0.1-draft
* PLACES: 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,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 4
* SENTENCE: [1] The digits of the whole-number part or the fraction part or the exponent may be optionally separated by underscores, but an underscore may not be placed between, before, or after these parts.
* SPEC VERSION: 0.1-draft
* PLACES: 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.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (<!TEST_TYPE!>)
*
* SECTIONS: <!SECTIONS!>
* PARAGRAPH: <!PARAGRAPH_NUMBER!>
* SENTENCE: [<!SENTENCE_NUMBER!>] <!SENTENCE!>
* SPEC VERSION: 0.1-draft
* PLACES: <!SECTIONS!> -> paragraph <!PARAGRAPH_NUMBER!> -> sentence <!SENTENCE_NUMBER!>
* NUMBER: <!TEST_NUMBER!>
* DESCRIPTION: <!TEST_DESCRIPTION!>
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
@@ -3,9 +3,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [3] These are strong keywords which cannot be used as identifiers unless [escaped][Escaped identifiers].
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* 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
@@ -3,9 +3,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [3] These are strong keywords which cannot be used as identifiers unless [escaped][Escaped identifiers].
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* 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
@@ -3,9 +3,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [3] These are strong keywords which cannot be used as identifiers unless [escaped][Escaped identifiers].
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, boolean-literals -> paragraph 1 -> sentence 3
* NUMBER: 2
* 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
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of binary digit symbols (0 or 1) prefixed by 0b or 0B is a binary integer literal.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Binary integer literals with the prefix only.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Binary integer literals with an underscore after the prefix.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: 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,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Binary integer literals with an underscore in the last position.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, decimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Integer literals with an underscore in the last position.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: 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).
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of hexadecimal digit symbols (0 through 9, a through f, A through F) prefixed by 0x or 0X is a hexadecimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Hexadecimal integer literals with the prefix only.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Hexadecimal integer literals with an underscore after the prefix.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* SPEC VERSION: 0.1-draft
* PLACE: 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,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] A sequence of hexadecimal digit symbols (0 through 9, a through f, A through F) prefixed by 0x or 0X is a hexadecimal integer literal.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Hexadecimal integer literals with an underscore in the last position.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] Any of the decimal, hexadecimal or binary literals may be suffixed by the long literal mark (symbol L).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Binary and hexadecimal integer literals with a long literal mark only.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] Any of the decimal, hexadecimal or binary literals may be suffixed by the long literal mark (symbol L).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Various integer literals with a not allowed underscore before the long literal mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] Any of the decimal, hexadecimal or binary literals may be suffixed by the long literal mark (symbol L).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Various integer literals with not allowed long literal mark in lower case.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Various integer literals with not allowed long literal mark in lower case (type checking).
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Type checking (comparison with invalid types) of various integer literals with long literal mark.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Type checking (comparison with invalid types) of various integer literals.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 4
* DESCRIPTION: Type checking (comparison with invalid types) of too a big integers.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 5
* DESCRIPTION: Check of integer type selection depends on the context (incopatible types).
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Type checking of various integer literals with long literal mark.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Type checking of decimal integer literals.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 3
* DESCRIPTION: Type checking of hexadecimal integer literals.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 4
* DESCRIPTION: Type checking of binary integer literals.
*/
@@ -4,9 +4,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] An integer literal with the long literal mark has type kotlin.Long; an integer literal without it has one of the types kotlin.Int/kotlin.Short/kotlin.Byte (the selected type is dependent on the context), if its value is in range of the corresponding type, or type kotlin.Long otherwise.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 5
* DESCRIPTION: Check of integer type selection depends on the context.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [1] A real literal consists of the following parts: the whole-number part, the decimal point (ASCII period character .), the fraction part and the exponent.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Real literals separeted by comments.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [3] A real literal may also be followed by a type suffix (f or F).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 3
* NUMBER: 1
* DESCRIPTION: Real literals suffixed by f/F (float suffix) separeted by comments.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [1] A real literal consists of the following parts: the whole-number part, the decimal point (ASCII period character .), the fraction part and the exponent.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with a different whole-number part and fraction part.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [1] A real literal consists of the following parts: the whole-number part, the decimal point (ASCII period character .), the fraction part and the exponent.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals with a many digits in a whole-number part and a fraction part (including conforms).
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [3] A real literal may also be followed by a type suffix (f or F).
* SPEC VERSION: 0.1-draft
* PLACE: 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,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 1
* SENTENCE: [3] A real literal may also be followed by a type suffix (f or F).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 1 -> sentence 3
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part (including conforms).
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Real literals without digits after an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals with a not allowed exponent mark at the beginning.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 4
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 2
* SENTENCE: [1] The exponent is an exponent mark (e or E) followed by an optionaly signed decimal integer (a sequence of decimal digits).
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 2 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark without digits after it.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Real literals with omitted a fraction part and an exponent mark without digits after it.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 1
* DESCRIPTION: Simple real literals with omitted a whole-number part.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 2
* DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 3
* DESCRIPTION: Real literals separeted by comments with omitted a whole-number part.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: 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.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [1] The whole-number part and the exponent part may be omitted.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 1
* NUMBER: 5
* DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark.
*/
@@ -1,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACE: 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,9 +1,8 @@
/*
* KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, real-literals
* PARAGRAPH: 3
* SENTENCE: [2] The fraction part may be omitted only together with the decimal point, if the whole-number part and either the exponent part or the type suffix are present.
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, real-literals -> paragraph 3 -> sentence 2
* NUMBER: 2
* DESCRIPTION: Real literals with omitted a fraction part and an exponent mark.
*/

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