[IR] update testdata after using maxBlankLines=1 for Printer
This commit is contained in:
committed by
teamcityserver
parent
6e318893f6
commit
602f0ddbc8
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-9
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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-?>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -35,8 +35,5 @@ class Test : J {
|
||||
#j.takeNullable(x = x)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-8
@@ -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 +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> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-6
@@ -5,9 +5,6 @@ open class Base {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test : Base {
|
||||
@@ -27,8 +24,5 @@ class Test : Base {
|
||||
this/*Test*/()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-32
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-31
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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,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 {
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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?> {
|
||||
|
||||
@@ -12,9 +12,6 @@ class Outer {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
inner class DerivedInnerClass : TestInnerClass {
|
||||
@@ -24,13 +21,7 @@ class Outer {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-6
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-12
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-9
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
||||
field = a
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class AA : Annotation {
|
||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A2(a = A1(x = 42))
|
||||
|
||||
-7
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
interface IFoo {
|
||||
@@ -19,8 +17,6 @@ interface IFoo {
|
||||
@Ann
|
||||
abstract fun String.testExtFun()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DFoo : IFoo {
|
||||
@@ -51,8 +47,5 @@ class DFoo : IFoo {
|
||||
return #$$delegate_0.<get-testVal>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
||||
field = y
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(x = "abc", y = 123)
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(xs = ["abc", "def"])
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnnWithIntArray : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class TestAnnWithStringArray : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class TestAnnWithStringArray : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnnWithIntArray(x = [1, 2, 3])
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = klass
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class C {
|
||||
@@ -16,9 +13,6 @@ class C {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(klass = C::class)
|
||||
|
||||
-26
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "class")
|
||||
@@ -17,16 +14,11 @@ class TestClass {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "interface")
|
||||
interface TestInterface {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "object")
|
||||
@@ -37,9 +29,6 @@ object TestObject {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Host {
|
||||
@@ -57,14 +46,8 @@ class Host {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "enum")
|
||||
@@ -75,13 +58,6 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
@@ -92,7 +68,5 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
annotation class TestAnnotation : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(x = 1)
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class TestClass {
|
||||
@@ -22,8 +19,5 @@ class TestClass {
|
||||
this/*TestClass*/()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-2
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: Int /* by */
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Cell {
|
||||
@@ -29,9 +26,6 @@ class Cell {
|
||||
<this>.<set-value>(<set-?> = newValue)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: Int /* by */
|
||||
|
||||
-8
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
open enum class TestEnum : Enum<TestEnum> {
|
||||
@@ -20,11 +17,6 @@ open enum class TestEnum : Enum<TestEnum> {
|
||||
ENTRY1 init = TODO("IrEnumConstructorCall") @TestAnn(x = "ENTRY2")
|
||||
ENTRY2 init = TODO("IrEnumConstructorCall")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
-8
@@ -7,11 +7,6 @@ enum class En : Enum<En> {
|
||||
|
||||
A init = TODO("IrEnumConstructorCall") B init = TODO("IrEnumConstructorCall") C init = TODO("IrEnumConstructorCall") D init = TODO("IrEnumConstructorCall")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
|
||||
@@ -24,9 +19,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = En)
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val testVal: String
|
||||
|
||||
@@ -8,8 +8,5 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = 42)
|
||||
|
||||
Vendored
-4
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun foo(m: Map<String, Int>) {
|
||||
@@ -20,6 +17,5 @@ fun foo(m: Map<String, Int>) {
|
||||
return test$delegate.getValue<Int>(thisRef = null, property = ::test)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-6
@@ -1,22 +1,16 @@
|
||||
annotation class A1 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A3 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A1
|
||||
|
||||
-5
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test {
|
||||
@@ -16,8 +14,5 @@ class Test {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "testVal.property")
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class C {
|
||||
@@ -28,8 +25,5 @@ class C {
|
||||
@A(x = "C.y.set")
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: String
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,6 @@
|
||||
annotation class AnnParam : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var p: Int
|
||||
@@ -22,8 +20,5 @@ class C {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class A {
|
||||
@@ -21,9 +19,6 @@ class A {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun String?.topLevelF(): String {
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(xs = [["a"], ["b"]])
|
||||
|
||||
-3
@@ -5,9 +5,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "TestTypeAlias")
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
annotation class Anno : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun <@Anno T : Any?> foo() {
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun testFun(x: Int) {
|
||||
@@ -23,8 +20,5 @@ class TestClassConstructor1 {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class AA : Annotation {
|
||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A1(xs = [1, 2, 3])
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
|
||||
@@ -53,8 +53,5 @@ class C {
|
||||
return #test8$delegate.setValue<Int>(thisRef = <this>, property = ::test8, value = <set-?>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,5 @@ fun test1(x: Int, y: Int = 0, z: String = "abc") {
|
||||
local fun local(xx: Int = x, yy: Int = y, zz: String = z) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,6 @@ class C {
|
||||
return #test3$delegate.setValue<Any>(thisRef = <this>, property = ::test3, value = <set-?>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var test4: Any /* by */
|
||||
|
||||
@@ -29,8 +29,5 @@ class Host {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,12 @@
|
||||
interface IFooStr {
|
||||
abstract fun foo(x: String)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
interface IBar {
|
||||
abstract val bar: Int
|
||||
abstract get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class CFoo<T : Any?> {
|
||||
@@ -24,9 +19,6 @@ abstract class CFoo<T : Any?> {
|
||||
fun foo(x: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test1 : CFoo<String>, IFooStr, IBar {
|
||||
@@ -40,9 +32,5 @@ class Test1 : CFoo<String>, IFooStr, IBar {
|
||||
field = 42
|
||||
override get
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@ class C<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
object Delegate {
|
||||
@@ -24,9 +21,6 @@ object Delegate {
|
||||
operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var <T : Any?> C<T>.genericDelegatedProperty: Int /* by */
|
||||
|
||||
@@ -18,8 +18,5 @@ interface C {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -15,8 +15,5 @@ object Definitions {
|
||||
field = #CONSTANT
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -4,9 +4,6 @@ interface I {
|
||||
return <this>
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class A : I {
|
||||
@@ -22,8 +19,5 @@ class A : I {
|
||||
return (#$$delegate_0, <this>).<get-id><T>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -14,12 +14,8 @@ fun outer() {
|
||||
abstract get
|
||||
abstract set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
local class Local : ALocal {
|
||||
constructor() /* primary */ {
|
||||
super/*ALocal*/()
|
||||
@@ -39,11 +35,7 @@ fun outer() {
|
||||
override get
|
||||
override set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ fun test1() {
|
||||
return x$delegate.getValue<Int>(thisRef = null, property = ::x)
|
||||
}
|
||||
|
||||
|
||||
println(message = <get-x>())
|
||||
}
|
||||
|
||||
@@ -22,7 +21,6 @@ fun test2() {
|
||||
return x$delegate.setValue<Int>(thisRef = null, property = ::x, value = value)
|
||||
}
|
||||
|
||||
|
||||
<set-x>(value = 0)
|
||||
{ // BLOCK
|
||||
val tmp0: Int = <get-x>()
|
||||
|
||||
-9
@@ -2,8 +2,6 @@ expect abstract class A {
|
||||
protected expect constructor() /* primary */
|
||||
expect abstract fun foo()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
expect open class B : A {
|
||||
@@ -11,8 +9,6 @@ expect open class B : A {
|
||||
expect override fun foo()
|
||||
expect open fun bar(s: String)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class A {
|
||||
@@ -24,8 +20,6 @@ abstract class A {
|
||||
|
||||
abstract fun foo()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
open class B : A {
|
||||
@@ -41,8 +35,5 @@ open class B : A {
|
||||
open fun bar(s: String) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-11
@@ -2,12 +2,6 @@ expect enum class MyEnum : Enum<MyEnum> {
|
||||
FOO
|
||||
BAR
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
@@ -23,11 +17,6 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
|
||||
FOO init = TODO("IrEnumConstructorCall") BAR init = TODO("IrEnumConstructorCall") BAZ init = TODO("IrEnumConstructorCall")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
-10
@@ -1,15 +1,11 @@
|
||||
expect sealed class Ops {
|
||||
private expect constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
expect class Add : Ops {
|
||||
expect constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
sealed class Ops {
|
||||
@@ -19,9 +15,6 @@ sealed class Ops {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Add : Ops {
|
||||
@@ -31,8 +24,5 @@ class Add : Ops {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
interface TestInterface<T : Any?> {
|
||||
interface TestNestedInterface<TT : Any?> {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test<T0 : Any?> {
|
||||
@@ -24,9 +19,6 @@ class Test<T0 : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
inner class TestInner<T2 : Any?> {
|
||||
@@ -36,13 +28,7 @@ class Test<T0 : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -13,9 +13,6 @@ class Test1<T1 : Any?, T2 : Any?> {
|
||||
field = y
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
@@ -44,14 +41,8 @@ class Test2 {
|
||||
<this>.this/*TestInner*/<Z>(z = z)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test3 {
|
||||
@@ -69,9 +60,6 @@ class Test3 {
|
||||
field = y
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test4<T : Any?> {
|
||||
@@ -89,8 +77,5 @@ class Test4<T : Any?> {
|
||||
this/*Test4*/<T>(x = x.plus(other = y))
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-6
@@ -23,9 +23,6 @@ class Host {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class InPrimaryCtor<T : Any?> {
|
||||
@@ -44,8 +41,5 @@ class InPrimaryCtor<T : Any?> {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ interface IBase<T : Any?> {
|
||||
|
||||
abstract fun <X : Any?> qux(t: T, x: X)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test<TT : Any?> : IBase<TT> {
|
||||
@@ -30,8 +28,5 @@ class Test<TT : Any?> : IBase<TT> {
|
||||
return #$$delegate_0.<get-bar>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,5 @@ class Host {
|
||||
fun <T : Any?> String.testMembetExt2(i: Int, j: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,7 @@ class Outer<T1 : Any?> {
|
||||
fun foo(x1: T1, x2: T2) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2,18 +2,14 @@ fun <TT : Any?> outer() {
|
||||
local fun <T : Any?> test1(i: Int, j: T) {
|
||||
}
|
||||
|
||||
|
||||
local fun test2(i: Int = 0, j: String = "") {
|
||||
}
|
||||
|
||||
|
||||
local fun test3(vararg args: String) {
|
||||
}
|
||||
|
||||
|
||||
local fun String.textExt1(i: Int, j: TT) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -77,8 +77,5 @@ class Host<T : Any?> {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -5,9 +5,6 @@ class Test1<T : U, U : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun <T : U, U : Any?> test2() {
|
||||
|
||||
-13
@@ -5,9 +5,6 @@ abstract class Base1<T : Derived1> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Derived1 : Base1<Derived1> {
|
||||
@@ -17,9 +14,6 @@ class Derived1 : Base1<Derived1> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class Base2 {
|
||||
@@ -32,9 +26,6 @@ abstract class Base2 {
|
||||
fun <T : Derived2> foo(x: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Derived2 : Base2 {
|
||||
@@ -44,9 +35,5 @@ class Derived2 : Base2 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -9,8 +9,5 @@ class Test {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -14,8 +14,5 @@ class C {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -9,9 +9,6 @@ class MyClass {
|
||||
field = value
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||
|
||||
@@ -13,9 +13,6 @@ class Delegate {
|
||||
return <this>.<get-value>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DelegateProvider {
|
||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
||||
return Delegate(value = <this>.<get-value>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
@@ -45,6 +39,5 @@ fun foo() {
|
||||
return testMember$delegate.getValue(thisRef = null, property = ::testMember)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-5
@@ -9,9 +9,6 @@ class MyClass {
|
||||
field = value
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||
@@ -29,14 +26,12 @@ fun box(): String {
|
||||
return testO$delegate.getValue(receiver = null, p = ::testO)
|
||||
}
|
||||
|
||||
|
||||
val testK: String
|
||||
val testK$delegate: String = "K"
|
||||
local get(): String {
|
||||
return testK$delegate.getValue(receiver = null, p = ::testK)
|
||||
}
|
||||
|
||||
|
||||
val testOK: String = <get-testO>().plus(other = <get-testK>())
|
||||
return testOK
|
||||
}
|
||||
|
||||
@@ -13,9 +13,6 @@ class Delegate {
|
||||
return <this>.<get-value>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DelegateProvider {
|
||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
||||
return Delegate(value = <this>.<get-value>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Host {
|
||||
@@ -51,8 +45,5 @@ class Host {
|
||||
return #testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-6
@@ -20,9 +20,6 @@ object Host {
|
||||
return receiver.plus(other = <this>.<get-s>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate {
|
||||
@@ -39,8 +36,5 @@ object Host {
|
||||
field = (<this>, "O").<get-plusK>()
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user