Raw FIR: set source for setter parameter <set-?> access in delegated properties
Related to KT-59864
This commit is contained in:
committed by
Space Team
parent
d321fa3fd9
commit
a5a8f6736b
+1
@@ -528,6 +528,7 @@ fun <T> FirPropertyBuilder.generateAccessorsByDelegate(
|
||||
arguments += thisRef()
|
||||
arguments += propertyRef()
|
||||
arguments += buildPropertyAccessExpression {
|
||||
source = fakeSource
|
||||
calleeReference = buildResolvedNamedReference {
|
||||
source = fakeSource
|
||||
name = SpecialNames.IMPLICIT_SET_PARAMETER
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
@10:34..12:5 GET_VAR '<this>: <root>.MyClass declared in <root>.MyClass.<set-observableProp>' type=<root>.MyClass origin=null
|
||||
@10:34..12:5 GET_VAR '<this>: <root>.MyClass declared in <root>.MyClass.<set-observableProp>' type=<root>.MyClass origin=null
|
||||
@10:34..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun <get-observableProp> (): kotlin.String declared in <root>.MyClass' setter='public final fun <set-observableProp> (<set-?>: kotlin.String): kotlin.Unit declared in <root>.MyClass' type=kotlin.reflect.KMutableProperty1<<root>.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
@10:34..-1:-1 GET_VAR '<set-?>: kotlin.String declared in <root>.MyClass.<set-observableProp>' type=kotlin.String origin=null
|
||||
@10:34..12:5 GET_VAR '<set-?>: kotlin.String declared in <root>.MyClass.<set-observableProp>' type=kotlin.String origin=null
|
||||
@-1:-1..-1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
@-1:-1..-1 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
|
||||
Reference in New Issue
Block a user