[IR] update testdata: better support for IrCall
This commit is contained in:
committed by
teamcityserver
parent
ef2adfa835
commit
197f5ca885
+2
-2
@@ -33,7 +33,7 @@ class DFoo : IFoo {
|
||||
private /*final field*/ val $$delegate_0: IFoo = d
|
||||
@Ann
|
||||
override fun String.testExtFun() {
|
||||
#$$delegate_0.testExtFun($receiver = <this>)
|
||||
(#$$delegate_0, <this>).testExtFun()
|
||||
}
|
||||
|
||||
@Ann
|
||||
@@ -43,7 +43,7 @@ class DFoo : IFoo {
|
||||
|
||||
override val String.testExtVal: String
|
||||
override get(): String {
|
||||
return #$$delegate_0.<get-testExtVal>($receiver = <this>)
|
||||
return (#$$delegate_0, <this>).<get-testExtVal>()
|
||||
}
|
||||
|
||||
override val testVal: String
|
||||
|
||||
+1
-1
@@ -11,6 +11,6 @@ val test1: Int /* by */
|
||||
}
|
||||
)
|
||||
get(): Int {
|
||||
return getValue<Int>($receiver = #test1$delegate, thisRef = null, property = ::test1)
|
||||
return #test1$delegate.getValue<Int>(thisRef = null, property = ::test1)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@ fun foo(m: Map<String, Int>) {
|
||||
}
|
||||
)
|
||||
local get(): Int {
|
||||
return getValue<Int>($receiver = test$delegate, thisRef = null, property = ::test)
|
||||
return test$delegate.getValue<Int>(thisRef = null, property = ::test)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user