Put 'thisReceiver' declaration in class

Interfaces also have 'thisReceiver'
This commit is contained in:
Dmitry Petrov
2017-05-02 10:54:56 +03:00
parent 90ec53b3b0
commit fa4dc26814
103 changed files with 439 additions and 205 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
FILE /abstractMembers.kt
CLASS CLASS AbstractClass
$new: VALUE_PARAMETER this@AbstractClass: AbstractClass
$this: VALUE_PARAMETER this@AbstractClass: AbstractClass
CONSTRUCTOR public constructor AbstractClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -20,6 +20,7 @@ FILE /abstractMembers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE Interface
$this: VALUE_PARAMETER this@Interface: Interface
FUN public abstract fun abstractFun(): kotlin.Unit
$this: VALUE_PARAMETER this@Interface: Interface
PROPERTY public abstract val abstractVal: kotlin.Int
@@ -1,6 +1,6 @@
FILE /argumentReorderingInDelegatingConstructorCall.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -31,7 +31,7 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
VALUE_PARAMETER value-parameter yy: kotlin.Int
@@ -53,7 +53,7 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
VALUE_PARAMETER value-parameter yy: kotlin.Int
+4 -3
View File
@@ -1,6 +1,6 @@
FILE /classMembers.kt
CLASS CLASS C
$new: VALUE_PARAMETER this@C: C
$this: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C(x: kotlin.Int, y: kotlin.Int, z: kotlin.Int = ...)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -85,7 +85,7 @@ FILE /classMembers.kt
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='2'
CLASS CLASS NestedClass
$new: VALUE_PARAMETER this@NestedClass: NestedClass
$this: VALUE_PARAMETER this@NestedClass: NestedClass
CONSTRUCTOR public constructor NestedClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -105,6 +105,7 @@ FILE /classMembers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE NestedInterface
$this: VALUE_PARAMETER this@NestedInterface: NestedInterface
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@NestedInterface: NestedInterface
FUN public open fun bar(): kotlin.Unit
@@ -117,7 +118,7 @@ FILE /classMembers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT companion object of C
$new: VALUE_PARAMETER this@Companion: Companion
$this: VALUE_PARAMETER this@Companion: Companion
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+5 -4
View File
@@ -1,6 +1,6 @@
FILE /classes.kt
CLASS CLASS TestClass
$new: VALUE_PARAMETER this@TestClass: TestClass
$this: VALUE_PARAMETER this@TestClass: TestClass
CONSTRUCTOR public constructor TestClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,11 +9,12 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE TestInterface
$this: VALUE_PARAMETER this@TestInterface: TestInterface
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT TestObject
$new: VALUE_PARAMETER this@TestObject: TestObject
$this: VALUE_PARAMETER this@TestObject: TestObject
CONSTRUCTOR private constructor TestObject()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -22,12 +23,12 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ANNOTATION_CLASS TestAnnotationClass
$new: VALUE_PARAMETER this@TestAnnotationClass: TestAnnotationClass
$this: VALUE_PARAMETER this@TestAnnotationClass: TestAnnotationClass
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ENUM_CLASS TestEnumClass
$new: VALUE_PARAMETER this@TestEnumClass: TestEnumClass
$this: VALUE_PARAMETER this@TestEnumClass: TestEnumClass
CONSTRUCTOR private constructor TestEnumClass()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
+4 -4
View File
@@ -1,12 +1,12 @@
FILE /companionObject.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
CLASS OBJECT companion object of Test1
$new: VALUE_PARAMETER this@Companion: Companion
$this: VALUE_PARAMETER this@Companion: Companion
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -18,13 +18,13 @@ FILE /companionObject.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
CLASS OBJECT companion object of Test2Named
$new: VALUE_PARAMETER this@Named: Named
$this: VALUE_PARAMETER this@Named: Named
CONSTRUCTOR private constructor Named()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+2 -2
View File
@@ -1,6 +1,6 @@
FILE /dataClasses.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.String, z: kotlin.Any)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.String
@@ -174,7 +174,7 @@ FILE /dataClasses.kt
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Any?)
VALUE_PARAMETER value-parameter x: kotlin.Any?
BLOCK_BODY
+1 -1
View File
@@ -1,6 +1,6 @@
FILE /dataClassesGeneric.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1<T>
$this: VALUE_PARAMETER this@Test1: Test1<T>
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor Test1<T>(x: T)
VALUE_PARAMETER value-parameter x: T
@@ -1,5 +1,6 @@
FILE /delegatedImplementation.kt
CLASS INTERFACE IBase
$this: VALUE_PARAMETER this@IBase: IBase
FUN public abstract fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER this@IBase: IBase
VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -13,7 +14,7 @@ FILE /delegatedImplementation.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT BaseImpl
$new: VALUE_PARAMETER this@BaseImpl: BaseImpl
$this: VALUE_PARAMETER this@BaseImpl: BaseImpl
CONSTRUCTOR private constructor BaseImpl()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -36,6 +37,7 @@ FILE /delegatedImplementation.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IOther
$this: VALUE_PARAMETER this@IOther: IOther
PROPERTY public abstract val x: kotlin.String
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-x>(): kotlin.String
$this: VALUE_PARAMETER this@IOther: IOther
@@ -67,7 +69,7 @@ FILE /delegatedImplementation.kt
RETURN type=kotlin.Nothing from='otherImpl(String, Int): IOther'
BLOCK type=otherImpl.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -123,7 +125,7 @@ FILE /delegatedImplementation.kt
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -160,7 +162,7 @@ FILE /delegatedImplementation.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -1,5 +1,6 @@
FILE /delegatedImplementationWithExplicitOverride.kt
CLASS INTERFACE IFooBar
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN public abstract fun bar(): kotlin.Unit
@@ -8,7 +9,7 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT FooBarImpl
$new: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
$this: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
CONSTRUCTOR private constructor FooBarImpl()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -23,7 +24,7 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C
$new: VALUE_PARAMETER this@C: C
$this: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -1,6 +1,6 @@
FILE /delegatingConstructorCallToTypeAliasConstructor.kt
CLASS CLASS Cell
$new: VALUE_PARAMETER this@Cell: Cell<T>
$this: VALUE_PARAMETER this@Cell: Cell<T>
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor Cell<T>(value: T)
VALUE_PARAMETER value-parameter value: T
@@ -23,7 +23,7 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
TYPEALIAS typealias CT = Cell<T> type=Cell<T>
TYPEALIAS typealias CStr = Cell<String> type=Cell<kotlin.String>
CLASS CLASS C1
$new: VALUE_PARAMETER this@C1: C1
$this: VALUE_PARAMETER this@C1: C1
CONSTRUCTOR public constructor C1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
@@ -35,7 +35,7 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C2
$new: VALUE_PARAMETER this@C2: C2
$this: VALUE_PARAMETER this@C2: C2
CONSTRUCTOR public constructor C2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
@@ -1,6 +1,6 @@
FILE /delegatingConstructorCallsInSecondaryConstructors.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test
$new: VALUE_PARAMETER this@Test: Test
$this: VALUE_PARAMETER this@Test: Test
CONSTRUCTOR public constructor Test()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
+8 -8
View File
@@ -1,6 +1,6 @@
FILE /enum.kt
CLASS ENUM_CLASS TestEnum1
$new: VALUE_PARAMETER this@TestEnum1: TestEnum1
$this: VALUE_PARAMETER this@TestEnum1: TestEnum1
CONSTRUCTOR private constructor TestEnum1()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
@@ -25,7 +25,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum1
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum2
$new: VALUE_PARAMETER this@TestEnum2: TestEnum2
$this: VALUE_PARAMETER this@TestEnum2: TestEnum2
CONSTRUCTOR private constructor TestEnum2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -66,7 +66,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum2
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum3
$new: VALUE_PARAMETER this@TestEnum3: TestEnum3
$this: VALUE_PARAMETER this@TestEnum3: TestEnum3
CONSTRUCTOR private constructor TestEnum3()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
@@ -74,7 +74,7 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST()'
class: CLASS ENUM_ENTRY TEST
$new: VALUE_PARAMETER this@TEST: TEST
$this: VALUE_PARAMETER this@TEST: TEST
CONSTRUCTOR private constructor TEST()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum3()'
@@ -113,7 +113,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum4
$new: VALUE_PARAMETER this@TestEnum4: TestEnum4
$this: VALUE_PARAMETER this@TestEnum4: TestEnum4
CONSTRUCTOR private constructor TestEnum4(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -132,7 +132,7 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST1
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST1()'
class: CLASS ENUM_ENTRY TEST1
$new: VALUE_PARAMETER this@TEST1: TEST1
$this: VALUE_PARAMETER this@TEST1: TEST1
CONSTRUCTOR private constructor TEST1()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)'
@@ -159,7 +159,7 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST2
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()'
class: CLASS ENUM_ENTRY TEST2
$new: VALUE_PARAMETER this@TEST2: TEST2
$this: VALUE_PARAMETER this@TEST2: TEST2
CONSTRUCTOR private constructor TEST2()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)'
@@ -215,7 +215,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum5
$new: VALUE_PARAMETER this@TestEnum5: TestEnum5
$this: VALUE_PARAMETER this@TestEnum5: TestEnum5
CONSTRUCTOR private constructor TestEnum5(x: kotlin.Int = ...)
VALUE_PARAMETER value-parameter x: kotlin.Int = ...
EXPRESSION_BODY
@@ -1,6 +1,6 @@
FILE /enumWithSecondaryCtor.kt
CLASS ENUM_CLASS Test0
$new: VALUE_PARAMETER this@Test0: Test0
$this: VALUE_PARAMETER this@Test0: Test0
CONSTRUCTOR private constructor Test0(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -38,7 +38,7 @@ FILE /enumWithSecondaryCtor.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test0
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR private constructor Test1(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -79,7 +79,7 @@ FILE /enumWithSecondaryCtor.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test1
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR private constructor Test2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -98,7 +98,7 @@ FILE /enumWithSecondaryCtor.kt
ENUM_ENTRY enum entry ZERO
init: ENUM_CONSTRUCTOR_CALL 'constructor ZERO()'
class: CLASS ENUM_ENTRY ZERO
$new: VALUE_PARAMETER this@ZERO: ZERO
$this: VALUE_PARAMETER this@ZERO: ZERO
CONSTRUCTOR private constructor ZERO()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Test2()'
@@ -124,7 +124,7 @@ FILE /enumWithSecondaryCtor.kt
ENUM_ENTRY enum entry ONE
init: ENUM_CONSTRUCTOR_CALL 'constructor ONE()'
class: CLASS ENUM_ENTRY ONE
$new: VALUE_PARAMETER this@ONE: ONE
$this: VALUE_PARAMETER this@ONE: ONE
CONSTRUCTOR private constructor ONE()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Test2(Int)'
+6 -6
View File
@@ -1,6 +1,6 @@
FILE /initBlock.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -12,7 +12,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -35,7 +35,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3
$new: VALUE_PARAMETER this@Test3: Test3
$this: VALUE_PARAMETER this@Test3: Test3
ANONYMOUS_INITIALIZER Test3
BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null
@@ -47,7 +47,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test4
$new: VALUE_PARAMETER this@Test4: Test4
$this: VALUE_PARAMETER this@Test4: Test4
ANONYMOUS_INITIALIZER Test4
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
@@ -64,7 +64,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test5
$new: VALUE_PARAMETER this@Test5: Test5
$this: VALUE_PARAMETER this@Test5: Test5
CONSTRUCTOR public constructor Test5()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -74,7 +74,7 @@ FILE /initBlock.kt
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='1'
CLASS CLASS TestInner
$new: VALUE_PARAMETER this@TestInner: TestInner
$this: VALUE_PARAMETER this@TestInner: TestInner
CONSTRUCTOR public constructor TestInner()
$outer: VALUE_PARAMETER this@Test5: Test5
BLOCK_BODY
+3 -3
View File
@@ -1,6 +1,6 @@
FILE /initVal.kt
CLASS CLASS TestInitValFromParameter
$new: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
$this: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
CONSTRUCTOR public constructor TestInitValFromParameter(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -20,7 +20,7 @@ FILE /initVal.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInClass
$new: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
$this: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
CONSTRUCTOR public constructor TestInitValInClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -39,7 +39,7 @@ FILE /initVal.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInInitBlock
$new: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
$this: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
CONSTRUCTOR public constructor TestInitValInInitBlock()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+6 -6
View File
@@ -1,6 +1,6 @@
FILE /initVar.kt
CLASS CLASS TestInitVarFromParameter
$new: VALUE_PARAMETER this@TestInitVarFromParameter: TestInitVarFromParameter
$this: VALUE_PARAMETER this@TestInitVarFromParameter: TestInitVarFromParameter
CONSTRUCTOR public constructor TestInitVarFromParameter(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -27,7 +27,7 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInClass
$new: VALUE_PARAMETER this@TestInitVarInClass: TestInitVarInClass
$this: VALUE_PARAMETER this@TestInitVarInClass: TestInitVarInClass
CONSTRUCTOR public constructor TestInitVarInClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -53,7 +53,7 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInInitBlock
$new: VALUE_PARAMETER this@TestInitVarInInitBlock: TestInitVarInInitBlock
$this: VALUE_PARAMETER this@TestInitVarInInitBlock: TestInitVarInInitBlock
CONSTRUCTOR public constructor TestInitVarInInitBlock()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -82,7 +82,7 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetter
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter
CONSTRUCTOR public constructor TestInitVarWithCustomSetter()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -108,7 +108,7 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor
PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
@@ -137,7 +137,7 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterInCtor
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor
PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
+3 -3
View File
@@ -1,12 +1,12 @@
FILE /innerClass.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER this@Outer: Outer
$this: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS TestInnerClass
$new: VALUE_PARAMETER this@TestInnerClass: TestInnerClass
$this: VALUE_PARAMETER this@TestInnerClass: TestInnerClass
CONSTRUCTOR public constructor TestInnerClass()
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
@@ -16,7 +16,7 @@ FILE /innerClass.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DerivedInnerClass
$new: VALUE_PARAMETER this@DerivedInnerClass: DerivedInnerClass
$this: VALUE_PARAMETER this@DerivedInnerClass: DerivedInnerClass
CONSTRUCTOR public constructor DerivedInnerClass()
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
@@ -1,12 +1,12 @@
FILE /innerClassWithDelegatingConstructor.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER this@Outer: Outer
$this: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS Inner
$new: VALUE_PARAMETER this@Inner: Inner
$this: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner(x: kotlin.Int)
$outer: VALUE_PARAMETER this@Outer: Outer
VALUE_PARAMETER value-parameter x: kotlin.Int
+1 -1
View File
@@ -2,7 +2,7 @@ FILE /localClasses.kt
FUN public fun outer(): kotlin.Unit
BLOCK_BODY
CLASS CLASS LocalClass
$new: VALUE_PARAMETER this@LocalClass: LocalClass
$this: VALUE_PARAMETER this@LocalClass: LocalClass
CONSTRUCTOR public constructor LocalClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -1,5 +1,6 @@
FILE /objectLiteralExpressions.kt
CLASS INTERFACE IFoo
$this: VALUE_PARAMETER this@IFoo: IFoo
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@IFoo: IFoo
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
@@ -10,7 +11,7 @@ FILE /objectLiteralExpressions.kt
EXPRESSION_BODY
BLOCK type=test1.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -28,7 +29,7 @@ FILE /objectLiteralExpressions.kt
EXPRESSION_BODY
BLOCK type=test2.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -47,13 +48,13 @@ FILE /objectLiteralExpressions.kt
RETURN type=kotlin.Nothing from='<get-test2>(): IFoo'
GET_FIELD 'test2: IFoo' type=IFoo origin=null
CLASS CLASS Outer
$new: VALUE_PARAMETER this@Outer: Outer
$this: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS Inner
$new: VALUE_PARAMETER this@Inner: Inner
$this: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
@@ -69,7 +70,7 @@ FILE /objectLiteralExpressions.kt
RETURN type=kotlin.Nothing from='test3(): Outer.Inner'
BLOCK type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
@@ -93,7 +94,7 @@ FILE /objectLiteralExpressions.kt
RETURN type=kotlin.Nothing from='test4() on Outer: Outer.Inner'
BLOCK type=test4.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
@@ -1,6 +1,6 @@
FILE /objectWithInitializers.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /objectWithInitializers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT Test
$new: VALUE_PARAMETER this@Test: Test
$this: VALUE_PARAMETER this@Test: Test
CONSTRUCTOR private constructor Test()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
+3 -3
View File
@@ -1,6 +1,6 @@
FILE /outerClassAccess.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER this@Outer: Outer
$this: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /outerClassAccess.kt
$this: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
CLASS CLASS Inner
$new: VALUE_PARAMETER this@Inner: Inner
$this: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
@@ -21,7 +21,7 @@ FILE /outerClassAccess.kt
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
CLASS CLASS Inner2
$new: VALUE_PARAMETER this@Inner2: Inner2
$this: VALUE_PARAMETER this@Inner2: Inner2
CONSTRUCTOR public constructor Inner2()
$outer: VALUE_PARAMETER this@Inner: Inner
BLOCK_BODY
+3 -3
View File
@@ -1,6 +1,6 @@
FILE /primaryConstructor.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -31,7 +31,7 @@ FILE /primaryConstructor.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -62,7 +62,7 @@ FILE /primaryConstructor.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3
$new: VALUE_PARAMETER this@Test3: Test3
$this: VALUE_PARAMETER this@Test3: Test3
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -1,6 +1,6 @@
FILE /primaryConstructorWithSuperConstructorCall.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestImplicitPrimaryConstructor
$new: VALUE_PARAMETER this@TestImplicitPrimaryConstructor: TestImplicitPrimaryConstructor
$this: VALUE_PARAMETER this@TestImplicitPrimaryConstructor: TestImplicitPrimaryConstructor
CONSTRUCTOR public constructor TestImplicitPrimaryConstructor()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -18,7 +18,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestExplicitPrimaryConstructor
$new: VALUE_PARAMETER this@TestExplicitPrimaryConstructor: TestExplicitPrimaryConstructor
$this: VALUE_PARAMETER this@TestExplicitPrimaryConstructor: TestExplicitPrimaryConstructor
CONSTRUCTOR public constructor TestExplicitPrimaryConstructor()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -27,7 +27,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestWithDelegatingConstructor
$new: VALUE_PARAMETER this@TestWithDelegatingConstructor: TestWithDelegatingConstructor
$this: VALUE_PARAMETER this@TestWithDelegatingConstructor: TestWithDelegatingConstructor
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -1,5 +1,6 @@
FILE /qualifiedSuperCalls.kt
CLASS INTERFACE ILeft
$this: VALUE_PARAMETER this@ILeft: ILeft
FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@ILeft: ILeft
BLOCK_BODY
@@ -13,6 +14,7 @@ FILE /qualifiedSuperCalls.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IRight
$this: VALUE_PARAMETER this@IRight: IRight
FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@IRight: IRight
BLOCK_BODY
@@ -26,7 +28,7 @@ FILE /qualifiedSuperCalls.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS CBoth
$new: VALUE_PARAMETER this@CBoth: CBoth
$this: VALUE_PARAMETER this@CBoth: CBoth
CONSTRUCTOR public constructor CBoth()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+4 -4
View File
@@ -1,12 +1,12 @@
FILE /sealedClasses.kt
CLASS CLASS Expr
$new: VALUE_PARAMETER this@Expr: Expr
$this: VALUE_PARAMETER this@Expr: Expr
CONSTRUCTOR private constructor Expr()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Expr'
CLASS CLASS Const
$new: VALUE_PARAMETER this@Const: Const
$this: VALUE_PARAMETER this@Const: Const
CONSTRUCTOR public constructor Const(number: kotlin.Double)
VALUE_PARAMETER value-parameter number: kotlin.Double
BLOCK_BODY
@@ -26,7 +26,7 @@ FILE /sealedClasses.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Sum
$new: VALUE_PARAMETER this@Sum: Sum
$this: VALUE_PARAMETER this@Sum: Sum
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
VALUE_PARAMETER value-parameter e1: Expr
VALUE_PARAMETER value-parameter e2: Expr
@@ -57,7 +57,7 @@ FILE /sealedClasses.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT NotANumber
$new: VALUE_PARAMETER this@NotANumber: NotANumber
$this: VALUE_PARAMETER this@NotANumber: NotANumber
CONSTRUCTOR private constructor NotANumber()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
@@ -1,6 +1,6 @@
FILE /secondaryConstructorWithInitializersFromClassBody.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestProperty
$new: VALUE_PARAMETER this@TestProperty: TestProperty
$this: VALUE_PARAMETER this@TestProperty: TestProperty
PROPERTY public final val x: kotlin.Int = 0
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int = 0
EXPRESSION_BODY
@@ -28,7 +28,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitBlock
$new: VALUE_PARAMETER this@TestInitBlock: TestInitBlock
$this: VALUE_PARAMETER this@TestInitBlock: TestInitBlock
PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
@@ -1,6 +1,6 @@
FILE /secondaryConstructors.kt
CLASS CLASS C
$new: VALUE_PARAMETER this@C: C
$this: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int)'
+2 -2
View File
@@ -1,6 +1,6 @@
FILE /superCalls.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -22,7 +22,7 @@ FILE /superCalls.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Derived
$new: VALUE_PARAMETER this@Derived: Derived
$this: VALUE_PARAMETER this@Derived: Derived
CONSTRUCTOR public constructor Derived()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'