Reorganize spec tests infrastructure code
- Add the tests mute system for the diagnostic tests - Move the code for the test info parsing to the separate package `parsers` - Unification of the `linked` and `not linked` spec tests - Package structure is refactored - Change the multiline comment format with a test information - Actualize `PrintSpecTestsStatistic` - Other different code improvements
This commit is contained in:
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the class.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the class.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
class true {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 10
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the companionObject.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 10
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the companionObject.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 11
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the function.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 11
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the function.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun true() {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 12
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the setter.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 12
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the setter.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 13
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the simpleUserType.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 13
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the simpleUserType.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f1(a: true) {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 14
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeParameter.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 14
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeParameter.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun <true> f1() {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 15
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the parameter.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 15
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the parameter.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f1(true: Int) {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 16
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the fileAnnotationComplex.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 16
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the fileAnnotationComplex.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
@file:[JvmName.true<false>()]
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 17
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the object.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 17
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the object.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
object A : true {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 18
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeAlias.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 18
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeAlias.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
typealias true = Boolean
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 19
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the import.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 19
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the import.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
import org.jetbrains.true.*
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the labelReference.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the labelReference.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 20
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the infixFunctionCall.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 20
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the infixFunctionCall.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 21
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the catchBlock.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 21
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the catchBlock.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 22
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the labelDefinition.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 22
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the labelDefinition.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 23
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the atomicExpression.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 23
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the atomicExpression.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
val true = 10
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 24
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the variableDeclarationEntry.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 24
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the variableDeclarationEntry.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 25
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the valueArgument.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 25
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the valueArgument.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 26
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the callableReference.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 26
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the callableReference.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun case_1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 3
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeConstraint.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the typeConstraint.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
class A <true, false>
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 4
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the fileAnnotationSimple.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 4
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the fileAnnotationSimple.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
@file:true
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 5
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the packageComplex.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 5
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the packageComplex.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
package org.jetbrains.true
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 6
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the packageSimple.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 6
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the packageSimple.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
package true
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 7
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the enumEntry.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 7
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the enumEntry.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
enum class A(x1: Any?) {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 8
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the stringTemplateElement.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 8
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the stringTemplateElement.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
NUMBER: 9
|
||||
DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the unescapedAnnotation.
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* NUMBER: 9
|
||||
* DESCRIPTION: The use of Boolean literals as the identifier (without backtick) in the unescapedAnnotation.
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
class `true` {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun `true`() {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f1(a: `true`) {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun <`true`> f1() {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f1(`true`: Int) {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
@file:[JvmName.`true`<`false`>()]
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
object A : `true` {}
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
typealias `true` = Boolean
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
import org.jetbrains.`true`.*
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
val `true` = 10
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun case_1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
class A <`true`, `false`>
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
@file:`true`
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
package org.jetbrains.`true`
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
package `true`
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
enum class A(x1: Any?) {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
fun f1() {
|
||||
|
||||
+8
-8
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
SECTIONS: constant-literals, boolean-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
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!
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, boolean-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
|
||||
* 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!
|
||||
*/
|
||||
|
||||
class A {
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Binary integer literals with invalid or double prefixes.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Binary integer literals with invalid or double prefixes.
|
||||
*/
|
||||
|
||||
val value = 00b000111001
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Binary integer literals with not allowed symbols.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Binary integer literals with not allowed symbols.
|
||||
*/
|
||||
|
||||
val value = 0b101L001
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, integer-literals, binary-integer-literals
|
||||
PARAGRAPH: 1
|
||||
SENTENCE: [2] A sequence of binary digit symbols (0 or 1) prefixed by 0b or 0B is a binary integer literal.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Binary integer literals with underscore breaking the prefix (in it).
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
|
||||
* PARAGRAPH: 1
|
||||
* SENTENCE: [2] A sequence of binary digit symbols (0 or 1) prefixed by 0b or 0B is a binary integer literal.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Binary integer literals with underscore breaking the prefix (in it).
|
||||
*/
|
||||
|
||||
val value = 0_b1_1_0_1_0_1
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Binary integer literals with valid digit symbols.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Binary integer literals with valid digit symbols.
|
||||
*/
|
||||
|
||||
val value = 0b0000111110000
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Binary integer literals with invalid [2-9] digit symbols.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Binary integer literals with invalid [2-9] digit symbols.
|
||||
*/
|
||||
|
||||
val value = 0B000123412
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Binary integer literals with prefix only (without digit symbols).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Binary integer literals with prefix only (without digit symbols).
|
||||
*/
|
||||
|
||||
val value = 0b
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Binary integer literals with underscore symbols in the valid positions.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Binary integer literals with underscore symbols in valid places.
|
||||
*/
|
||||
|
||||
val value = 0b0_00_01_11_11_00_00
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Binary integer literals with underscore symbols after binary prefix.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Binary integer literals with underscore symbols after binary prefix.
|
||||
*/
|
||||
|
||||
val value = 0b_000111010001111
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Binary integer literals with underscore symbol after the last digit.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Binary integer literals with underscore symbol after the last digit.
|
||||
*/
|
||||
|
||||
val value = 0b0_1_0_1_0_1_____
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 4
|
||||
DESCRIPTION: Binary integer literals with underscore symbol before the first digit (it's considered as identifiers).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 4
|
||||
* DESCRIPTION: Binary integer literals with underscore symbol before the first digit (it's considered as identifiers).
|
||||
*/
|
||||
|
||||
val value = _____0b0_1_0_1_0_0
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Sequences with not all decimal digit symbols
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Sequences with not all decimal digit symbols
|
||||
*/
|
||||
|
||||
val value = 1234567890b
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Sequences with decimal digit symbols.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Sequences with decimal digit symbols.
|
||||
*/
|
||||
|
||||
val value = 1234567890
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Integers with underscore symbols in the valid positions.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Integers with underscore symbols in the valid places.
|
||||
*/
|
||||
|
||||
val value = 1234_5678_90
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Integers with underscore symbol in the last position.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Integers with underscore symbol in the last position.
|
||||
*/
|
||||
|
||||
val value = 1_
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Integers with underscore symbols before the first digit (it's considered as identifiers).
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Integers with underscore symbols before the first digit (it's considered as identifiers).
|
||||
*/
|
||||
|
||||
val value = _5678_90
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, integer-literals, decimal-integer-literals
|
||||
PARAGRAPH: 2
|
||||
SENTENCE: [1] Even more so, any decimal literal starting with digit 0 and containing more than 1 digit is not a valid decimal literal.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Integer literals with 0 in the first position and it contains more than 1 digit.
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
|
||||
* PARAGRAPH: 2
|
||||
* SENTENCE: [1] Even more so, any decimal literal starting with digit 0 and containing more than 1 digit is not a valid decimal literal.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Integer literals with 0 in the first position and it contains more than 1 digit.
|
||||
*/
|
||||
|
||||
val value = 00
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTIONS: constant-literals, integer-literals, decimal-integer-literals
|
||||
PARAGRAPH: 2
|
||||
SENTENCE: [1] Even more so, any decimal literal starting with digit 0 and containing more than 1 digit is not a valid decimal literal.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Integer literals with 0 in the first position and it contains more than 1 digit separated by underscore.
|
||||
* KOTLIN PSI SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
|
||||
* PARAGRAPH: 2
|
||||
* SENTENCE: [1] Even more so, any decimal literal starting with digit 0 and containing more than 1 digit is not a valid decimal literal.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Integer literals with 0 in the first position and it contains more than 1 digit separated by underscore.
|
||||
*/
|
||||
|
||||
val value = 0_0
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Hexadecimal integer literals with invalid or double prefixes.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Hexadecimal integer literals with invalid or double prefixes.
|
||||
*/
|
||||
|
||||
val value = 00x876543
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Hexadecimal integer literals with not allowed symbols.
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Hexadecimal integer literals with not allowed symbols.
|
||||
*/
|
||||
|
||||
val value = 0x876L543
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Hexadecimal integer literals with underscore breaking the prefix (in it).
|
||||
* KOTLIN PSI 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscore breaking the prefix (in it).
|
||||
*/
|
||||
|
||||
val value = 0_x3_4_5_6_7_8
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Hexadecimal integer literals with valid symbols.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Hexadecimal integer literals with valid symbols.
|
||||
*/
|
||||
|
||||
val value = 0x1234567890
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Hexadecimal integer literals with prefix only (without digit symbols).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Hexadecimal integer literals with prefix only (without digit symbols).
|
||||
*/
|
||||
|
||||
val value = 0x
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Hexadecimal integer literals with underscore symbols in the valid positions.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscore symbols in valid places.
|
||||
*/
|
||||
|
||||
val value = 0x1_234C67890
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Hexadecimal integer literals with underscore symbols after hexadecimal prefix.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscore symbols after hexadecimal prefix.
|
||||
*/
|
||||
|
||||
val value = 0x_a2b45f789e
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Hexadecimal integer literals with underscore symbol after the last digit.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscore symbol after the last digit.
|
||||
*/
|
||||
|
||||
val value = 0x3_c_c_c_7_8_____
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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.
|
||||
NUMBER: 4
|
||||
DESCRIPTION: Hexadecimal integer literals with underscore symbol before the first digit (it's considered as identifiers).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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.
|
||||
* NUMBER: 4
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscore symbol before the first digit (it's considered as identifiers).
|
||||
*/
|
||||
|
||||
val value = _____0x3_4_5_6_7_8
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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).
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Various integer literals with a long literal mark doublicate.
|
||||
* KOTLIN PSI 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).
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Various integer literals with a long literal mark doublicate.
|
||||
*/
|
||||
|
||||
val value = 1234567890lL
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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).
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Various integer literals with a long literal mark in not allowed positions.
|
||||
* KOTLIN PSI 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).
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Various integer literals with a long literal mark in not allowed places.
|
||||
*/
|
||||
|
||||
val value = 0x0123456L789abcdef
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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).
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Various integer literals with underscores after a long literal mark.
|
||||
* KOTLIN PSI 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).
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Various integer literals with underscores after a long literal mark.
|
||||
*/
|
||||
|
||||
val value = 1000l___
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI 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).
|
||||
NUMBER: 4
|
||||
DESCRIPTION: The long literal mark after not integer literals.
|
||||
* KOTLIN PSI 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).
|
||||
* NUMBER: 4
|
||||
* DESCRIPTION: The long literal mark after not integer literals.
|
||||
*/
|
||||
|
||||
val value = 'a'l
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Decimal integer literals suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: Decimal integer literals suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 1234567890L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 10
|
||||
DESCRIPTION: Long literal mark in not allowed positions (it's considered as identifiers).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 10
|
||||
* DESCRIPTION: Long literal mark in not allowed places (it's considered as identifiers).
|
||||
*/
|
||||
|
||||
val value = l1234
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Decimal integer literals with underscores suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: Decimal integer literals with underscores suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 1234_5678_90L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Hexadecimal integer literals suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 3
|
||||
* DESCRIPTION: Hexadecimal integer literals suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0x1234567890L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 4
|
||||
DESCRIPTION: Hexadecimal prefix only suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 4
|
||||
* DESCRIPTION: Hexadecimal prefix only suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0xL
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 5
|
||||
DESCRIPTION: Hexadecimal integer literals with underscores suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 5
|
||||
* DESCRIPTION: Hexadecimal integer literals with underscores suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0x1_234C67890L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 6
|
||||
DESCRIPTION: Binary integer literals suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 6
|
||||
* DESCRIPTION: Binary integer literals suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0b0000111110000L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 7
|
||||
DESCRIPTION: Binary prefix only suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 7
|
||||
* DESCRIPTION: Binary prefix only suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0bL
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 8
|
||||
DESCRIPTION: Binary integer literals with underscores suffixed by the long literal mark.
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 8
|
||||
* DESCRIPTION: Binary integer literals with underscores suffixed by the long literal mark.
|
||||
*/
|
||||
|
||||
val value = 0b0_00_01_11_11_00_00L
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
|
||||
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).
|
||||
NUMBER: 9
|
||||
DESCRIPTION: Various integer literals with long literal mark in not allowed lower case (but valid in opinion the parser).
|
||||
* KOTLIN PSI SPEC TEST (POSITIVE)
|
||||
*
|
||||
* 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).
|
||||
* NUMBER: 9
|
||||
* DESCRIPTION: Various integer literals with long literal mark in not allowed lower case (but valid in opinion the parser).
|
||||
*/
|
||||
|
||||
val value = 1234567890l
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
KOTLIN PSI SPEC TEST (<!TEST_TYPE!>)
|
||||
|
||||
SECTIONS: <!SECTIONS!>
|
||||
PARAGRAPH: <!PARAGRAPH_NUMBER!>
|
||||
SENTENCE: [<!SENTENCE_NUMBER!>] <!SENTENCE!>
|
||||
NUMBER: <!TEST_NUMBER!>
|
||||
DESCRIPTION: <!TEST_DESCRIPTION!>
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN PSI SPEC TEST (<!TEST_TYPE!>)
|
||||
*
|
||||
* SECTIONS: <!SECTIONS!>
|
||||
* PARAGRAPH: <!PARAGRAPH_NUMBER!>
|
||||
* SENTENCE: [<!SENTENCE_NUMBER!>] <!SENTENCE!>
|
||||
* NUMBER: <!TEST_NUMBER!>
|
||||
* DESCRIPTION: <!TEST_DESCRIPTION!>
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
KOTLIN NOT LINKED PSI SPEC TEST (<!TEST_TYPE!>)
|
||||
|
||||
SECTION: <!SECTION!>
|
||||
CATEGORIES: <!CATEGORIES!>
|
||||
NUMBER: <!TEST_NUMBER!>
|
||||
DESCRIPTION: <!TEST_DESCRIPTION!>
|
||||
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
* KOTLIN NOT LINKED PSI SPEC TEST (<!TEST_TYPE!>)
|
||||
*
|
||||
* SECTION: <!SECTION!>
|
||||
* CATEGORIES: <!CATEGORIES!>
|
||||
* NUMBER: <!TEST_NUMBER!>
|
||||
* DESCRIPTION: <!TEST_DESCRIPTION!>
|
||||
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
|
||||
*/
|
||||
Reference in New Issue
Block a user