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
@@ -1,6 +1,6 @@
FILE /differentReceivers.kt
CLASS CLASS MyClass
$new: VALUE_PARAMETER this@MyClass: MyClass
$this: VALUE_PARAMETER this@MyClass: MyClass
CONSTRUCTOR public constructor MyClass(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -1,6 +1,6 @@
FILE /local.kt
CLASS CLASS Delegate
$new: VALUE_PARAMETER this@Delegate: Delegate
$this: VALUE_PARAMETER this@Delegate: Delegate
CONSTRUCTOR public constructor Delegate(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -28,7 +28,7 @@ FILE /local.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider
$new: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
$this: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -1,6 +1,6 @@
FILE /localDifferentReceivers.kt
CLASS CLASS MyClass
$new: VALUE_PARAMETER this@MyClass: MyClass
$this: VALUE_PARAMETER this@MyClass: MyClass
CONSTRUCTOR public constructor MyClass(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -1,6 +1,6 @@
FILE /member.kt
CLASS CLASS Delegate
$new: VALUE_PARAMETER this@Delegate: Delegate
$this: VALUE_PARAMETER this@Delegate: Delegate
CONSTRUCTOR public constructor Delegate(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -28,7 +28,7 @@ FILE /member.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider
$new: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
$this: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -57,7 +57,7 @@ FILE /member.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Host
$new: VALUE_PARAMETER this@Host: Host
$this: VALUE_PARAMETER this@Host: Host
CONSTRUCTOR public constructor Host()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -1,12 +1,12 @@
FILE /memberExtension.kt
CLASS OBJECT Host
$new: VALUE_PARAMETER this@Host: Host
$this: VALUE_PARAMETER this@Host: Host
CONSTRUCTOR private constructor Host()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Host'
CLASS CLASS StringDelegate
$new: VALUE_PARAMETER this@StringDelegate: StringDelegate
$this: VALUE_PARAMETER this@StringDelegate: StringDelegate
CONSTRUCTOR public constructor StringDelegate(s: kotlin.String)
VALUE_PARAMETER value-parameter s: kotlin.String
BLOCK_BODY
@@ -1,6 +1,6 @@
FILE /topLevel.kt
CLASS CLASS Delegate
$new: VALUE_PARAMETER this@Delegate: Delegate
$this: VALUE_PARAMETER this@Delegate: Delegate
CONSTRUCTOR public constructor Delegate(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY
@@ -28,7 +28,7 @@ FILE /topLevel.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider
$new: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
$this: VALUE_PARAMETER this@DelegateProvider: DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String
BLOCK_BODY