[IR] update testdata: support annotations on parameters
This commit is contained in:
committed by
teamcityserver
parent
182cb52bdb
commit
a34a311e86
+1
-1
@@ -42,7 +42,7 @@ var test2: Int /* by */
|
||||
return #test2$delegate.getValue(thisRef = null, kProp = ::test2)
|
||||
}
|
||||
@A(x = "test2.set")
|
||||
set(<set-?>: Int) {
|
||||
set(@A(x = "test2.set.param") <set-?>: Int) {
|
||||
return #test2$delegate.setValue(thisRef = null, kProp = ::test2, newValue = <set-?>)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ annotation class Ann : Annotation {
|
||||
}
|
||||
|
||||
class Test {
|
||||
constructor(x: Int) /* primary */ {
|
||||
constructor(@Ann x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
|
||||
+2
-2
@@ -6,11 +6,11 @@ annotation class TestAnn : Annotation {
|
||||
|
||||
}
|
||||
|
||||
fun testFun(x: Int) {
|
||||
fun testFun(@TestAnn(x = "testFun.x") x: Int) {
|
||||
}
|
||||
|
||||
class TestClassConstructor1 {
|
||||
constructor(x: Int) /* primary */ {
|
||||
constructor(@TestAnn(x = "TestClassConstructor1.x") x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user