diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirLightTreeJvmIrSourceRangesTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirLightTreeJvmIrSourceRangesTestGenerated.java index b4e890adb69..c34a91ea53d 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirLightTreeJvmIrSourceRangesTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirLightTreeJvmIrSourceRangesTestGenerated.java @@ -94,6 +94,12 @@ public class FirLightTreeJvmIrSourceRangesTestGenerated extends AbstractFirLight runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt"); } + @Test + @TestMetadata("delegatedProperties.kt") + public void testDelegatedProperties() throws Exception { + runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt"); + } + @Test @TestMetadata("fakeOverrides.kt") public void testFakeOverrides() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrSourceRangesTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrSourceRangesTestGenerated.java index dc6885d17f2..a41774533c8 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrSourceRangesTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrSourceRangesTestGenerated.java @@ -94,6 +94,12 @@ public class FirPsiJvmIrSourceRangesTestGenerated extends AbstractFirPsiJvmIrSou runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt"); } + @Test + @TestMetadata("delegatedProperties.kt") + public void testDelegatedProperties() throws Exception { + runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt"); + } + @Test @TestMetadata("fakeOverrides.kt") public void testFakeOverrides() throws Exception { diff --git a/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.fir.txt b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.fir.txt new file mode 100644 index 00000000000..1493d69d91c --- /dev/null +++ b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.fir.txt @@ -0,0 +1,70 @@ +@0:0..14:0 FILE fqName: fileName:/delegatedProperties.kt + @5:0..13:1 CLASS CLASS name:MyClass modality:FINAL visibility:public superTypes:[kotlin.Any] + @5:0..13:1 CONSTRUCTOR visibility:public <> () returnType:.MyClass [primary] + @5:0..13:1 BLOCK_BODY + @5:0..13:1 DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + @5:0..13:1 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass modality:FINAL visibility:public superTypes:[kotlin.Any]' + @6:4..8:5 PROPERTY name:lazyProp visibility:public modality:FINAL [delegated,val] + @6:4..8:5 FIELD PROPERTY_DELEGATE name:lazyProp$delegate type:kotlin.Lazy visibility:private [final] + @6:20..8:5 EXPRESSION_BODY + @6:20..8:5 CALL 'public final fun lazy (initializer: kotlin.Function0): kotlin.Lazy declared in kotlin' type=kotlin.Lazy origin=null + @6:25..8:5 FUN_EXPR type=kotlin.Function0 origin=LAMBDA + @6:25..8:5 FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Int + @7:8..9 BLOCK_BODY + @7:9..9 RETURN type=kotlin.Nothing from='local final fun (): kotlin.Int declared in .MyClass.lazyProp$delegate' + @7:8..9 CONST Int type=kotlin.Int value=5 + @6:4..8:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass) returnType:kotlin.Int + @6:4..8:5 VALUE_PARAMETER name: type:.MyClass + @6:20..8:5 BLOCK_BODY + @6:20..8:5 RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in .MyClass' + @6:20..8:5 CALL 'public final fun getValue (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.getValue [inline,operator] declared in kotlin' type=kotlin.Int origin=null + @6:20..8:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:lazyProp$delegate type:kotlin.Lazy visibility:private [final]' type=kotlin.Lazy origin=null + @6:20..8:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @6:20..8:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @6:20..8:5 PROPERTY_REFERENCE 'public final lazyProp: kotlin.Int [delegated,val]' field=null getter='public final fun (): kotlin.Int declared in .MyClass' setter=null type=kotlin.reflect.KProperty1<.MyClass, kotlin.Int> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:4..12:5 PROPERTY name:observableProp visibility:public modality:FINAL [delegated,var] + @10:4..12:5 FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final] + @10:44..12:5 EXPRESSION_BODY + @10:44..12:5 CALL 'public final fun observable (initialValue: T of kotlin.properties.Delegates.observable, onChange: kotlin.Function3<@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*>, T of kotlin.properties.Delegates.observable, T of kotlin.properties.Delegates.observable, kotlin.Unit>): kotlin.properties.ReadWriteProperty [inline] declared in kotlin.properties.Delegates' type=kotlin.properties.ReadWriteProperty origin=null + @10:34..43 GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Delegates modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.properties.Delegates + @10:55..63 CONST String type=kotlin.String value="" + @10:65..12:5 FUN_EXPR type=kotlin.Function3<@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*>, kotlin.String, kotlin.String, kotlin.Unit> origin=LAMBDA + @10:65..12:5 FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (prop:@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*>, old:kotlin.String, new:kotlin.String) returnType:kotlin.Unit + @10:67..71 VALUE_PARAMETER name:prop index:0 type:@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*> + @10:73..76 VALUE_PARAMETER name:old index:1 type:kotlin.String + @10:78..81 VALUE_PARAMETER name:new index:2 type:kotlin.String + @11:8..37 BLOCK_BODY + @11:8..37 CALL 'public final fun println (message: kotlin.Any?): kotlin.Unit [inline] declared in kotlin.io' type=kotlin.Unit origin=null + @11:16..36 STRING_CONCATENATION type=kotlin.String + @11:17..21 CONST String type=kotlin.String value="Was " + @11:22..25 GET_VAR 'old: kotlin.String declared in .MyClass.observableProp$delegate.' type=kotlin.String origin=null + @11:25..31 CONST String type=kotlin.String value=", now " + @11:32..35 GET_VAR 'new: kotlin.String declared in .MyClass.observableProp$delegate.' type=kotlin.String origin=null + @10:4..12:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass) returnType:kotlin.String + @10:4..12:5 VALUE_PARAMETER name: type:.MyClass + @10:34..12:5 BLOCK_BODY + @10:34..12:5 RETURN type=kotlin.Nothing from='public final fun (): kotlin.String declared in .MyClass' + @10:34..12:5 CALL 'public abstract fun getValue (thisRef: T of kotlin.properties.ReadWriteProperty, property: kotlin.reflect.KProperty<*>): V of kotlin.properties.ReadWriteProperty [operator] declared in kotlin.properties.ReadWriteProperty' type=kotlin.String origin=null + @10:34..12:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final]' type=kotlin.properties.ReadWriteProperty origin=null + @10:34..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:34..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:34..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun (): kotlin.String declared in .MyClass' setter='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' type=kotlin.reflect.KMutableProperty1<.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:4..12:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass, :kotlin.String) returnType:kotlin.Unit + @10:4..12:5 VALUE_PARAMETER name: type:.MyClass + @10:34..12:5 VALUE_PARAMETER name: index:0 type:kotlin.String + @10:34..12:5 BLOCK_BODY + @10:34..12:5 RETURN type=kotlin.Nothing from='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' + @10:34..12:5 CALL 'public abstract fun setValue (thisRef: T of kotlin.properties.ReadWriteProperty, property: kotlin.reflect.KProperty<*>, value: V of kotlin.properties.ReadWriteProperty): kotlin.Unit [operator] declared in kotlin.properties.ReadWriteProperty' type=kotlin.Unit origin=null + @10:34..12:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final]' type=kotlin.properties.ReadWriteProperty origin=null + @10:34..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:34..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:34..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun (): kotlin.String declared in .MyClass' setter='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' type=kotlin.reflect.KMutableProperty1<.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:34..-1:-1 GET_VAR ': kotlin.String declared in .MyClass.' 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: type:kotlin.Any + @-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? + @-1:-1..-1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + @-1:-1..-1 VALUE_PARAMETER name: type:kotlin.Any + @-1:-1..-1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + @-1:-1..-1 VALUE_PARAMETER name: type:kotlin.Any + @5:0..13:1 VALUE_PARAMETER INSTANCE_RECEIVER name: type:.MyClass diff --git a/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt new file mode 100644 index 00000000000..109d42c5029 --- /dev/null +++ b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt @@ -0,0 +1,14 @@ +// WITH_STDLIB +// ISSUE: KT-59864 + +import kotlin.properties.Delegates + +class MyClass { + val lazyProp by lazy { + 5 + } + + var observableProp: String by Delegates.observable("") { prop, old, new -> + println("Was $old, now $new") + } +} diff --git a/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.txt b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.txt new file mode 100644 index 00000000000..89428f36896 --- /dev/null +++ b/compiler/testData/ir/sourceRanges/declarations/delegatedProperties.txt @@ -0,0 +1,70 @@ +@0:0..14:0 FILE fqName: fileName:/delegatedProperties.kt + @5:0..13:1 CLASS CLASS name:MyClass modality:FINAL visibility:public superTypes:[kotlin.Any] + @5:0..13:1 CONSTRUCTOR visibility:public <> () returnType:.MyClass [primary] + @5:0..13:1 BLOCK_BODY + @5:0..13:1 DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + @5:0..13:1 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass modality:FINAL visibility:public superTypes:[kotlin.Any]' + @6:4..8:5 PROPERTY name:lazyProp visibility:public modality:FINAL [delegated,val] + @6:17..8:5 FIELD PROPERTY_DELEGATE name:lazyProp$delegate type:kotlin.Lazy visibility:private [final] + @6:20..8:5 EXPRESSION_BODY + @6:20..8:5 CALL 'public final fun lazy (initializer: kotlin.Function0): kotlin.Lazy declared in kotlin.LazyKt' type=kotlin.Lazy origin=null + @6:25..8:5 FUN_EXPR type=kotlin.Function0 origin=LAMBDA + @6:25..8:5 FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Int + @7:8..9 BLOCK_BODY + @7:8..9 RETURN type=kotlin.Nothing from='local final fun (): kotlin.Int declared in .MyClass.lazyProp$delegate' + @7:8..9 CONST Int type=kotlin.Int value=5 + @6:17..8:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass) returnType:kotlin.Int + @6:4..8:5 VALUE_PARAMETER name: type:.MyClass + @6:20..8:5 BLOCK_BODY + @6:20..8:5 RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in .MyClass' + @6:20..8:5 CALL 'public final fun getValue (thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): T of kotlin.LazyKt.getValue [inline,operator] declared in kotlin.LazyKt' type=kotlin.Int origin=null + @6:17..8:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:lazyProp$delegate type:kotlin.Lazy visibility:private [final]' type=kotlin.Lazy origin=null + @6:17..8:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @0:8..12 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @6:17..8:5 PROPERTY_REFERENCE 'public final lazyProp: kotlin.Int [delegated,val]' field=null getter='public final fun (): kotlin.Int declared in .MyClass' setter=null type=kotlin.reflect.KProperty1<.MyClass, kotlin.Int> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:4..12:5 PROPERTY name:observableProp visibility:public modality:FINAL [delegated,var] + @10:31..12:5 FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final] + @10:44..12:5 EXPRESSION_BODY + @10:44..12:5 CALL 'public final fun observable (initialValue: T of kotlin.properties.Delegates.observable, onChange: kotlin.Function3<@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*>, @[ParameterName(name = 'oldValue')] T of kotlin.properties.Delegates.observable, @[ParameterName(name = 'newValue')] T of kotlin.properties.Delegates.observable, kotlin.Unit>): kotlin.properties.ReadWriteProperty [inline] declared in kotlin.properties.Delegates' type=kotlin.properties.ReadWriteProperty origin=null + @10:34..43 GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Delegates modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.properties.Delegates + @10:56..62 CONST String type=kotlin.String value="" + @10:65..12:5 FUN_EXPR type=kotlin.Function3<@[ParameterName(name = 'property')] kotlin.reflect.KProperty<*>, @[ParameterName(name = 'oldValue')] kotlin.String, @[ParameterName(name = 'newValue')] kotlin.String, kotlin.Unit> origin=LAMBDA + @10:65..12:5 FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (prop:kotlin.reflect.KProperty<*>, old:kotlin.String, new:kotlin.String) returnType:kotlin.Unit + @10:67..71 VALUE_PARAMETER name:prop index:0 type:kotlin.reflect.KProperty<*> + @10:73..76 VALUE_PARAMETER name:old index:1 type:kotlin.String + @10:78..81 VALUE_PARAMETER name:new index:2 type:kotlin.String + @11:8..37 BLOCK_BODY + @11:8..37 CALL 'public final fun println (message: kotlin.Any?): kotlin.Unit [inline] declared in kotlin.io.ConsoleKt' type=kotlin.Unit origin=null + @11:16..36 STRING_CONCATENATION type=kotlin.String + @11:17..21 CONST String type=kotlin.String value="Was " + @11:22..25 GET_VAR 'old: kotlin.String declared in .MyClass.observableProp$delegate.' type=kotlin.String origin=null + @11:25..31 CONST String type=kotlin.String value=", now " + @11:32..35 GET_VAR 'new: kotlin.String declared in .MyClass.observableProp$delegate.' type=kotlin.String origin=null + @10:31..12:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass) returnType:kotlin.String + @10:4..12:5 VALUE_PARAMETER name: type:.MyClass + @10:34..12:5 BLOCK_BODY + @10:34..12:5 RETURN type=kotlin.Nothing from='public final fun (): kotlin.String declared in .MyClass' + @10:34..12:5 CALL 'public abstract fun getValue (thisRef: T of kotlin.properties.ReadWriteProperty, property: kotlin.reflect.KProperty<*>): V of kotlin.properties.ReadWriteProperty [operator] declared in kotlin.properties.ReadWriteProperty' type=kotlin.String origin=null + @10:31..12:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final]' type=kotlin.properties.ReadWriteProperty origin=null + @10:31..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @0:8..12 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:31..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun (): kotlin.String declared in .MyClass' setter='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' type=kotlin.reflect.KMutableProperty1<.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:31..12:5 FUN DELEGATED_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.MyClass, :kotlin.String) returnType:kotlin.Unit + @10:4..12:5 VALUE_PARAMETER name: type:.MyClass + @10:31..12:5 VALUE_PARAMETER name: index:0 type:kotlin.String + @10:34..12:5 BLOCK_BODY + @10:34..12:5 RETURN type=kotlin.Nothing from='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' + @10:34..12:5 CALL 'public abstract fun setValue (thisRef: T of kotlin.properties.ReadWriteProperty, property: kotlin.reflect.KProperty<*>, value: V of kotlin.properties.ReadWriteProperty): kotlin.Unit [operator] declared in kotlin.properties.ReadWriteProperty' type=kotlin.Unit origin=null + @10:31..12:5 GET_FIELD 'FIELD PROPERTY_DELEGATE name:observableProp$delegate type:kotlin.properties.ReadWriteProperty visibility:private [final]' type=kotlin.properties.ReadWriteProperty origin=null + @10:31..12:5 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @0:8..12 GET_VAR ': .MyClass declared in .MyClass.' type=.MyClass origin=null + @10:31..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun (): kotlin.String declared in .MyClass' setter='public final fun (: kotlin.String): kotlin.Unit declared in .MyClass' type=kotlin.reflect.KMutableProperty1<.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE + @10:34..12:5 GET_VAR ': kotlin.String declared in .MyClass.' type=kotlin.String origin=null + @5:0..13:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + @5:0..13:1 VALUE_PARAMETER name: type:kotlin.Any + @5:0..13:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? + @5:0..13:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + @5:0..13:1 VALUE_PARAMETER name: type:kotlin.Any + @5:0..13:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + @5:0..13:1 VALUE_PARAMETER name: type:kotlin.Any + @5:0..13:1 VALUE_PARAMETER INSTANCE_RECEIVER name: type:.MyClass diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/ir/ClassicJvmIrSourceRangesTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/ir/ClassicJvmIrSourceRangesTestGenerated.java index f1dc3ffe0c9..45c4e64869b 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/ir/ClassicJvmIrSourceRangesTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/ir/ClassicJvmIrSourceRangesTestGenerated.java @@ -94,6 +94,12 @@ public class ClassicJvmIrSourceRangesTestGenerated extends AbstractClassicJvmIrS runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt"); } + @Test + @TestMetadata("delegatedProperties.kt") + public void testDelegatedProperties() throws Exception { + runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt"); + } + @Test @TestMetadata("fakeOverrides.kt") public void testFakeOverrides() throws Exception {