Alphabetical sort wrapped intersection types for rendered diagnostics

This commit is contained in:
victor.petukhov
2018-12-28 15:34:42 +03:00
parent acd6d354dc
commit ec8a6cbe9c
118 changed files with 1387 additions and 937 deletions
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,8 @@
* NUMBER: 1
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* UNEXPECTED BEHAVIOUR
* HELPERS: reflect
*/
open class `true` {
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 10
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the companionObject.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package org.jetbrains.`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 11
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
fun `true`(): Boolean {
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 12
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the setter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
class A {
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 13
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the simpleUserType.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package org.jetbrains.`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 14
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeParameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package org.jetbrains.`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 15
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the parameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
fun f1(`true`: Boolean) = !!!`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 16
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
@file:[org.jetbrains.`true`.`false`() `true`]
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 17
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the object.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
open class A {
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 18
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeAlias.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
typealias `true` = Boolean
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 26
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the callableReference.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
val Boolean.`true`: Boolean
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 3
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeConstraint.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
class A <`true`, `false`>
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 4
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
@file:`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 5
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package org.jetbrains.`true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 6
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package `true`
@@ -1,5 +1,3 @@
// HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
@@ -8,6 +6,7 @@
* NUMBER: 9
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* HELPERS: reflect
*/
package org.jetbrains.`true`