[IR] update testdata: print class name for callable references without receivers
This commit is contained in:
committed by
teamcityserver
parent
b6e37c1f89
commit
e94528fe0d
@@ -41,16 +41,16 @@ class C {
|
||||
}
|
||||
)
|
||||
get(): Int {
|
||||
return <this>.#test7$delegate.getValue<Int>(thisRef = <this>, property = ::test7)
|
||||
return <this>.#test7$delegate.getValue<Int>(thisRef = <this>, property = C::test7)
|
||||
}
|
||||
|
||||
var test8: Int /* by */
|
||||
field = hashMapOf<String, Int>()
|
||||
get(): Int {
|
||||
return <this>.#test8$delegate.getValue<Int, Int>(thisRef = <this>, property = ::test8)
|
||||
return <this>.#test8$delegate.getValue<Int, Int>(thisRef = <this>, property = C::test8)
|
||||
}
|
||||
set(<set-?>: Int) {
|
||||
return <this>.#test8$delegate.setValue<Int>(thisRef = <this>, property = ::test8, value = <set-?>)
|
||||
return <this>.#test8$delegate.setValue<Int>(thisRef = <this>, property = C::test8, value = <set-?>)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -24,16 +24,16 @@ class C {
|
||||
}
|
||||
)
|
||||
get(): Int {
|
||||
return <this>.#test2$delegate.getValue<Int>(thisRef = <this>, property = ::test2)
|
||||
return <this>.#test2$delegate.getValue<Int>(thisRef = <this>, property = C::test2)
|
||||
}
|
||||
|
||||
var test3: Any /* by */
|
||||
field = <this>.<get-map>()
|
||||
get(): Any {
|
||||
return <this>.#test3$delegate.getValue<Any, Any>(thisRef = <this>, property = ::test3)
|
||||
return <this>.#test3$delegate.getValue<Any, Any>(thisRef = <this>, property = C::test3)
|
||||
}
|
||||
set(<set-?>: Any) {
|
||||
return <this>.#test3$delegate.setValue<Any>(thisRef = <this>, property = ::test3, value = <set-?>)
|
||||
return <this>.#test3$delegate.setValue<Any>(thisRef = <this>, property = C::test3, value = <set-?>)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -40,9 +40,9 @@ class Host {
|
||||
}
|
||||
|
||||
val testMember: String /* by */
|
||||
field = DelegateProvider(value = "OK").provideDelegate(thisRef = <this>, property = ::testMember)
|
||||
field = DelegateProvider(value = "OK").provideDelegate(thisRef = <this>, property = Host::testMember)
|
||||
get(): String {
|
||||
return <this>.#testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
|
||||
return <this>.#testMember$delegate.getValue(thisRef = <this>, property = Host::testMember)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -27,9 +27,9 @@ object Host {
|
||||
}
|
||||
|
||||
val String.plusK: String /* by */
|
||||
field = (<this>, "K").provideDelegate(host = <this>, p = ::plusK)
|
||||
field = (<this>, "K").provideDelegate(host = <this>, p = Host::plusK)
|
||||
get(): String {
|
||||
return <this>.#plusK$delegate.getValue(receiver = <this>, p = ::plusK)
|
||||
return <this>.#plusK$delegate.getValue(receiver = <this>, p = Host::plusK)
|
||||
}
|
||||
|
||||
val ok: String
|
||||
|
||||
Reference in New Issue
Block a user