[IR] update testdata after using maxBlankLines=1 for Printer

This commit is contained in:
Zalim Bashorov
2020-11-06 02:47:33 +03:00
committed by teamcityserver
parent 6e318893f6
commit 602f0ddbc8
243 changed files with 0 additions and 1789 deletions
@@ -13,9 +13,6 @@ abstract class AbstractClass {
abstract get
abstract set
}
interface Interface {
@@ -27,8 +24,5 @@ interface Interface {
abstract get
abstract set
}
@@ -4,9 +4,6 @@ annotation class Test1 : Annotation {
field = x
get
}
annotation class Test2 : Annotation {
@@ -15,9 +12,6 @@ annotation class Test2 : Annotation {
field = x
get
}
annotation class Test3 : Annotation {
@@ -26,9 +20,6 @@ annotation class Test3 : Annotation {
field = x
get
}
annotation class Test4 : Annotation {
@@ -37,8 +28,5 @@ annotation class Test4 : Annotation {
field = xs
get
}
@@ -13,9 +13,6 @@ open class Base {
field = y
get
}
class Test1 : Base {
@@ -27,9 +24,6 @@ class Test1 : Base {
}
}
class Test2 : Base {
@@ -47,8 +41,5 @@ class Test2 : Base {
}
}
}
-12
View File
@@ -58,9 +58,6 @@ class C {
println(message = "4")
}
}
interface NestedInterface {
@@ -69,9 +66,6 @@ class C {
return <this>.foo()
}
}
companion object Companion {
@@ -81,13 +75,7 @@ class C {
}
}
}
-17
View File
@@ -5,15 +5,10 @@ class TestClass {
}
}
interface TestInterface {
}
object TestObject {
@@ -23,16 +18,11 @@ object TestObject {
}
}
annotation class TestAnnotationClass : Annotation {
constructor() /* primary */
}
enum class TestEnumClass : Enum<TestEnumClass> {
@@ -42,13 +32,6 @@ enum class TestEnumClass : Enum<TestEnumClass> {
}
fun values(): Array<TestEnumClass> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
-14
View File
@@ -5,17 +5,10 @@ class A : Cloneable {
}
}
interface I : Cloneable {
}
class C : I {
@@ -25,10 +18,6 @@ class C : I {
}
}
class OC : I {
@@ -42,8 +31,5 @@ class OC : I {
return OC()
}
}
@@ -12,14 +12,8 @@ class Test1 {
}
}
}
class Test2 {
@@ -36,13 +30,7 @@ class Test2 {
}
}
}
@@ -7,9 +7,6 @@ interface IBase<A : Any?> {
abstract get
abstract set
}
class Test1<E : Any?> : IBase<E> {
@@ -37,9 +34,6 @@ class Test1<E : Any?> : IBase<E> {
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}
class Test2 : IBase<String> {
@@ -72,8 +66,5 @@ class Test2 : IBase<String> {
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}
@@ -3,8 +3,6 @@ interface IBase {
abstract fun bar(): Int
abstract fun String.qux()
}
object BaseImpl : IBase {
@@ -24,9 +22,6 @@ object BaseImpl : IBase {
override fun String.qux() {
}
}
interface IOther {
@@ -44,9 +39,6 @@ interface IOther {
abstract get
abstract set
}
fun otherImpl(x0: String, y0: Int): IOther {
@@ -79,12 +71,8 @@ fun otherImpl(x0: String, y0: Int): IOther {
override set(value: Int) {
}
}
<no name provided>()
}
}
@@ -109,9 +97,6 @@ class Test1 : IBase {
(#$$delegate_0, <this>).qux()
}
}
class Test2 : IBase, IOther {
@@ -161,8 +146,5 @@ class Test2 : IBase, IOther {
#$$delegate_1.<set-y>(<set-?> = <set-?>)
}
}
@@ -35,8 +35,5 @@ class Test : J {
#j.takeNullable(x = x)
}
}
@@ -2,8 +2,6 @@ interface IFooBar {
abstract fun foo()
abstract fun bar()
}
object FooBarImpl : IFooBar {
@@ -19,9 +17,6 @@ object FooBarImpl : IFooBar {
override fun bar() {
}
}
class C : IFooBar {
@@ -39,8 +34,5 @@ class C : IFooBar {
override fun bar() {
}
}
@@ -9,9 +9,6 @@ open class Cell<T : Any?> {
field = value
get
}
typealias CT<T : Any?> = Cell<T>
@@ -23,9 +20,6 @@ class C1 : Cell<String> {
}
}
class C2 : Cell<String> {
@@ -35,8 +29,5 @@ class C2 : Cell<String> {
}
}
@@ -5,9 +5,6 @@ open class Base {
}
}
class Test : Base {
@@ -27,8 +24,5 @@ class Test : Base {
this/*Test*/()
}
}
-32
View File
@@ -7,11 +7,6 @@ enum class TestEnum1 : Enum<TestEnum1> {
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestEnum1> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum1 /* Synthetic body for ENUM_VALUEOF */
@@ -31,11 +26,6 @@ enum class TestEnum2 : Enum<TestEnum2> {
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestEnum2> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum2 /* Synthetic body for ENUM_VALUEOF */
@@ -51,12 +41,6 @@ abstract enum class TestEnum3 : Enum<TestEnum3> {
TEST init = TODO("IrEnumConstructorCall") abstract fun foo()
fun values(): Array<TestEnum3> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum3 /* Synthetic body for ENUM_VALUEOF */
@@ -76,12 +60,6 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") abstract fun foo()
fun values(): Array<TestEnum4> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum4 /* Synthetic body for ENUM_VALUEOF */
@@ -101,11 +79,6 @@ enum class TestEnum5 : Enum<TestEnum5> {
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestEnum5> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum5 /* Synthetic body for ENUM_VALUEOF */
@@ -137,11 +110,6 @@ enum class TestEnum6 : Enum<TestEnum6> {
TODO("IrEnumConstructorCall")
}
fun values(): Array<TestEnum6> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */
@@ -7,11 +7,6 @@ enum class TestFinalEnum1 : Enum<TestFinalEnum1> {
X1 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestFinalEnum1> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestFinalEnum1 /* Synthetic body for ENUM_VALUEOF */
@@ -31,11 +26,6 @@ enum class TestFinalEnum2 : Enum<TestFinalEnum2> {
X1 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestFinalEnum2> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestFinalEnum2 /* Synthetic body for ENUM_VALUEOF */
@@ -52,13 +42,6 @@ enum class TestFinalEnum3 : Enum<TestFinalEnum3> {
X1 init = TODO("IrEnumConstructorCall") fun doStuff() {
}
fun values(): Array<TestFinalEnum3> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestFinalEnum3 /* Synthetic body for ENUM_VALUEOF */
@@ -74,11 +57,6 @@ open enum class TestOpenEnum1 : Enum<TestOpenEnum1> {
X1 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestOpenEnum1> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestOpenEnum1 /* Synthetic body for ENUM_VALUEOF */
@@ -95,13 +73,6 @@ open enum class TestOpenEnum2 : Enum<TestOpenEnum2> {
X1 init = TODO("IrEnumConstructorCall") open fun foo() {
}
fun values(): Array<TestOpenEnum2> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestOpenEnum2 /* Synthetic body for ENUM_VALUEOF */
@@ -117,12 +88,6 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
X1 init = TODO("IrEnumConstructorCall") abstract fun foo()
fun values(): Array<TestAbstractEnum1> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestAbstractEnum1 /* Synthetic body for ENUM_VALUEOF */
@@ -132,8 +97,6 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
interface IFoo {
abstract fun foo()
}
abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
@@ -145,12 +108,6 @@ abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
X1 init = TODO("IrEnumConstructorCall")
fun values(): Array<TestAbstractEnum2> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */
@@ -39,13 +39,6 @@ open enum class A : Enum<A> {
<this>.<get-prop3>()
}
fun values(): Array<A> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */
@@ -13,13 +13,6 @@ enum class Test0 : Enum<Test0> {
this/*Test0*/(x = 0)
}
fun values(): Array<Test0> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): Test0 /* Synthetic body for ENUM_VALUEOF */
@@ -41,13 +34,6 @@ enum class Test1 : Enum<Test1> {
this/*Test1*/(x = 0)
}
fun values(): Array<Test1> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): Test1 /* Synthetic body for ENUM_VALUEOF */
@@ -71,12 +57,6 @@ abstract enum class Test2 : Enum<Test2> {
abstract fun foo()
fun values(): Array<Test2> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */
@@ -5,10 +5,5 @@ class Test : Base {
}
}
@@ -1,8 +1,6 @@
interface IFoo {
abstract fun foo(): String
}
class K1 : JFoo {
@@ -12,10 +10,6 @@ class K1 : JFoo {
}
}
class K2 : JFoo {
@@ -29,9 +23,6 @@ class K2 : JFoo {
return super.foo() /*!! String */
}
}
class K3 : JUnrelatedFoo, IFoo {
@@ -41,10 +32,6 @@ class K3 : JUnrelatedFoo, IFoo {
}
}
class K4 : JUnrelatedFoo, IFoo {
@@ -58,9 +45,6 @@ class K4 : JUnrelatedFoo, IFoo {
return super.foo()
}
}
class TestJFoo : IFoo {
@@ -75,9 +59,6 @@ class TestJFoo : IFoo {
return #$$delegate_0.foo() /*!! String */
}
}
class TestK1 : IFoo {
@@ -92,9 +73,6 @@ class TestK1 : IFoo {
return #$$delegate_0.foo() /*!! String */
}
}
class TestK2 : IFoo {
@@ -109,9 +87,6 @@ class TestK2 : IFoo {
return #$$delegate_0.foo()
}
}
class TestK3 : IFoo {
@@ -126,9 +101,6 @@ class TestK3 : IFoo {
return #$$delegate_0.foo()
}
}
class TestK4 : IFoo {
@@ -143,8 +115,5 @@ class TestK4 : IFoo {
return #$$delegate_0.foo() /*!! String */
}
}
-18
View File
@@ -9,9 +9,6 @@ class Test1 {
println()
}
}
class Test2 {
@@ -29,9 +26,6 @@ class Test2 {
println()
}
}
class Test3 {
@@ -45,9 +39,6 @@ class Test3 {
}
}
class Test4 {
@@ -65,9 +56,6 @@ class Test4 {
println(message = "2")
}
}
class Test5 {
@@ -92,13 +80,7 @@ class Test5 {
println(message = "2")
}
}
}
-9
View File
@@ -9,9 +9,6 @@ class TestInitValFromParameter {
field = x
get
}
class TestInitValInClass {
@@ -25,9 +22,6 @@ class TestInitValInClass {
field = 0
get
}
class TestInitValInInitBlock {
@@ -44,8 +38,5 @@ class TestInitValInInitBlock {
#x = 0
}
}
@@ -15,8 +15,5 @@ class TestInitValInLambdaCalledOnce {
)
}
}
-18
View File
@@ -10,9 +10,6 @@ class TestInitVarFromParameter {
get
set
}
class TestInitVarInClass {
@@ -27,9 +24,6 @@ class TestInitVarInClass {
get
set
}
class TestInitVarInInitBlock {
@@ -47,9 +41,6 @@ class TestInitVarInInitBlock {
<this>.<set-x>(<set-?> = 0)
}
}
class TestInitVarWithCustomSetter {
@@ -66,9 +57,6 @@ class TestInitVarWithCustomSetter {
#x = value
}
}
class TestInitVarWithCustomSetterWithExplicitCtor {
@@ -88,9 +76,6 @@ class TestInitVarWithCustomSetterWithExplicitCtor {
}
}
class TestInitVarWithCustomSetterInCtor {
@@ -107,8 +92,5 @@ class TestInitVarWithCustomSetterInCtor {
<this>.<set-x>(value = 42)
}
}
@@ -13,8 +13,6 @@ class C<T : Any?> {
return <this>.<get-t>() as Int
}
}
inline class IC<TT : Any?> {
-9
View File
@@ -12,9 +12,6 @@ class Outer {
}
}
inner class DerivedInnerClass : TestInnerClass {
@@ -24,13 +21,7 @@ class Outer {
}
}
}
@@ -20,13 +20,7 @@ class Outer {
<this>.this/*Inner*/(x = 0)
}
}
}
@@ -56,12 +56,8 @@ data class B {
}
}
<no name provided>()
}) /* primary */ {
super/*Any*/()
@@ -9,12 +9,8 @@ fun outer() {
fun foo() {
}
}
LocalClass().foo()
}
@@ -1,8 +1,6 @@
interface IFoo {
abstract fun foo()
}
val test1: Any
@@ -14,12 +12,8 @@ val test1: Any
}
}
<no name provided>()
}
get
@@ -37,12 +31,8 @@ val test2: IFoo
println(message = "foo")
}
}
<no name provided>()
}
get
@@ -61,10 +51,6 @@ class Outer {
}
}
fun test3(): Inner {
@@ -80,19 +66,12 @@ class Outer {
println(message = "foo")
}
}
<no name provided>()
}
}
}
fun Outer.test4(): Inner {
@@ -108,12 +87,8 @@ fun Outer.test4(): Inner {
println(message = "foo")
}
}
<no name provided>()
}
}
@@ -5,9 +5,6 @@ abstract class Base {
}
}
object Test : Base {
@@ -28,8 +25,5 @@ object Test : Base {
#y = <this>.<get-x>()
}
}
@@ -35,18 +35,9 @@ class Outer {
<this>.foo()
}
}
}
}
@@ -13,9 +13,6 @@ class Test1 {
field = y
get
}
class Test2 {
@@ -33,9 +30,6 @@ class Test2 {
field = x
get
}
class Test3 {
@@ -56,8 +50,5 @@ class Test3 {
#x = x
}
}
@@ -5,9 +5,6 @@ open class Base {
}
}
class TestImplicitPrimaryConstructor : Base {
@@ -17,9 +14,6 @@ class TestImplicitPrimaryConstructor : Base {
}
}
class TestExplicitPrimaryConstructor : Base {
@@ -29,9 +23,6 @@ class TestExplicitPrimaryConstructor : Base {
}
}
class TestWithDelegatingConstructor : Base {
@@ -53,8 +44,5 @@ class TestWithDelegatingConstructor : Base {
this/*TestWithDelegatingConstructor*/(x = x, y = 0)
}
}
@@ -7,9 +7,6 @@ interface ILeft {
return 1
}
}
interface IRight {
@@ -21,9 +18,6 @@ interface IRight {
return 2
}
}
class CBoth : ILeft, IRight {
@@ -43,8 +37,5 @@ class CBoth : ILeft, IRight {
return super.<get-bar>().plus(other = super.<get-bar>())
}
}
@@ -16,9 +16,6 @@ sealed class Expr {
field = number
get
}
class Sum : Expr {
@@ -36,9 +33,6 @@ sealed class Expr {
field = e2
get
}
object NotANumber : Expr {
@@ -48,13 +42,7 @@ sealed class Expr {
}
}
}
@@ -5,9 +5,6 @@ open class Base {
}
}
class TestProperty : Base {
@@ -21,9 +18,6 @@ class TestProperty : Base {
}
}
class TestInitBlock : Base {
@@ -50,8 +44,5 @@ class TestInitBlock : Base {
this/*TestInitBlock*/()
}
}
@@ -9,8 +9,5 @@ class C {
}
}
-5
View File
@@ -16,8 +16,6 @@ open class Base {
return super.hashCode()
}
}
class Derived : Base {
@@ -36,8 +34,5 @@ class Derived : Base {
return super.<get-bar>()
}
}
@@ -12,9 +12,6 @@ open class Base {
field = ""
open get
}
interface BaseI {
@@ -22,9 +19,6 @@ interface BaseI {
abstract val bar: String
abstract get
}
class Derived : Base, BaseI {
@@ -43,8 +37,5 @@ class Derived : Base, BaseI {
return super.<get-bar>()
}
}