[IR] update testdata: print class name for callable references without receivers
This commit is contained in:
committed by
teamcityserver
parent
b6e37c1f89
commit
e94528fe0d
+1
-1
@@ -39,6 +39,6 @@ fun testVarargsStar() {
|
||||
}
|
||||
|
||||
fun testCtorStar() {
|
||||
useKCallableStar(fn = ::<init>)
|
||||
useKCallableStar(fn = C::<init>)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -15,10 +15,10 @@ class A<T : Any?> {
|
||||
}
|
||||
|
||||
val test1: KFunction1<A<String>, Unit>
|
||||
field = ::foo
|
||||
field = A::foo
|
||||
get
|
||||
|
||||
val test2: KProperty1<A<String>, Int>
|
||||
field = ::bar
|
||||
field = A::bar
|
||||
get
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@ class Value<T : Any?> {
|
||||
}
|
||||
|
||||
val <T : Any?> Value<T>.additionalText: Int /* by */
|
||||
field = DVal(kmember = ::text)
|
||||
field = DVal(kmember = Value::text)
|
||||
get(): Int {
|
||||
return #additionalText$delegate.getValue(t = <this>, p = ::additionalText/*<T>()*/)
|
||||
}
|
||||
|
||||
val <T : Any?> Value<T>.additionalValue: Int /* by */
|
||||
field = DVal(kmember = ::value)
|
||||
field = DVal(kmember = Value::value)
|
||||
get(): Int {
|
||||
return #additionalValue$delegate.getValue(t = <this>, p = ::additionalValue/*<T>()*/)
|
||||
}
|
||||
|
||||
@@ -115,18 +115,18 @@ val test_constVal: KProperty0<Int>
|
||||
get
|
||||
|
||||
val test_J_CONST: KProperty0<Int>
|
||||
field = ::CONST
|
||||
field = J::CONST
|
||||
get
|
||||
|
||||
val test_J_nonConst: KMutableProperty0<Int>
|
||||
field = ::nonConst
|
||||
field = J::nonConst
|
||||
get
|
||||
|
||||
val test_varWithPrivateSet: KProperty1<C, Int>
|
||||
field = ::varWithPrivateSet
|
||||
field = C::varWithPrivateSet
|
||||
get
|
||||
|
||||
val test_varWithProtectedSet: KProperty1<C, Int>
|
||||
field = ::varWithProtectedSet
|
||||
field = C::varWithProtectedSet
|
||||
get
|
||||
|
||||
|
||||
@@ -26,11 +26,11 @@ val test2: KClass<out Int>
|
||||
get
|
||||
|
||||
val test3: KFunction1<A, Unit>
|
||||
field = ::foo
|
||||
field = A::foo
|
||||
get
|
||||
|
||||
val test4: KFunction0<A>
|
||||
field = ::<init>
|
||||
field = A::<init>
|
||||
get
|
||||
|
||||
val test5: KFunction0<Unit>
|
||||
|
||||
+2
-2
@@ -28,10 +28,10 @@ object Host {
|
||||
|
||||
typealias NA = Nested
|
||||
val test1: Function1<Int, C>
|
||||
field = ::<init>
|
||||
field = C::<init>
|
||||
get
|
||||
|
||||
val test2: Function1<Int, Nested>
|
||||
field = ::<init>
|
||||
field = Nested::<init>
|
||||
get
|
||||
|
||||
|
||||
Reference in New Issue
Block a user