[SLC] migrate SymbolLightParameterForReceiver to KtReceiverParameterSymbol

^KT-54051
This commit is contained in:
Dmitrii Gridin
2022-11-18 13:35:07 +01:00
committed by Space Team
parent e7b1206466
commit 37729c0353
6 changed files with 34 additions and 37 deletions
@@ -8,10 +8,13 @@ annotation class MyAnnotation6
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME)
annotation class MyAnnotation7
@Target(AnnotationTarget.TYPE)
annotation class MyAnnotation8
class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @property:MyAnnotation4 @field:MyAnnotation5 @param:MyAnnotation6 var bar: String) {
fun @receiver:MyAnnotation7 Int.fooF() = Unit
var @receiver:MyAnnotation7 Int.fooP
fun @receiver:MyAnnotation7 @MyAnnotation8 Int.fooF() = Unit
fun @receiver:MyAnnotation7 @MyAnnotation8 Int?.fooWithNullableReceiver(l: Long) = Unit
var @receiver:MyAnnotation7 @MyAnnotation8 Int.fooP
get() = Unit
set(value) {}
}