[IR] update testdata: support annotations on parameters

This commit is contained in:
Zalim Bashorov
2020-11-11 14:18:51 +03:00
committed by teamcityserver
parent 182cb52bdb
commit a34a311e86
6 changed files with 19 additions and 19 deletions
@@ -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-?>)
}
@@ -4,7 +4,7 @@ annotation class Ann : Annotation {
}
class Test {
constructor(x: Int) /* primary */ {
constructor(@Ann x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
@@ -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>() */