Drop IrPropertyAccessor (and subclasses).
Drop IrLocalPropertyAccessor (and subclasses). Introduce IrField.
This commit is contained in:
committed by
Dmitry Petrov
parent
121e949a33
commit
5c720845a8
+11
-6
@@ -1,8 +1,13 @@
|
||||
FILE /anonymousFunction.kt
|
||||
PROPERTY public val anonymous: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN local final fun <no name provided>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALLABLE_REFERENCE '<no name provided>(): Unit' type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FIELD public val anonymous: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN local final fun <no name provided>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALLABLE_REFERENCE '<no name provided>(): Unit' type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN public fun <get-anonymous>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-anonymous>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'anonymous: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
+23
-13
@@ -1,16 +1,26 @@
|
||||
FILE /justLambda.kt
|
||||
PROPERTY public val test1: () -> kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FIELD public val test1: () -> kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public fun <get-test1>(): () -> kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Int'
|
||||
GET_BACKING_FIELD 'test1: () -> Int' type=() -> kotlin.Int operator=null
|
||||
PROPERTY public val test2: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
FIELD public val test2: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN public fun <get-test2>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'test2: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
@@ -11,7 +11,7 @@ FILE /multipleImplicitReceivers.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='B'
|
||||
CLASS INTERFACE IFoo
|
||||
PROPERTY public open val A.foo: B
|
||||
PROPERTY_GETTER public open fun A.<get-foo>(): B
|
||||
FUN public open fun A.<get-foo>(): B
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-foo>() on A: B'
|
||||
GET_OBJECT 'B' type=B
|
||||
|
||||
Reference in New Issue
Block a user