[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
inline fun foo(x: Function0<Unit>) {
|
||||
}
|
||||
|
||||
fun String.id(s: String = <this>, vararg xs: Int): String {
|
||||
return s
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(x = { //BLOCK
|
||||
local fun String.id() {
|
||||
id($receiver = receiver, ) /*~> Unit */
|
||||
}
|
||||
|
||||
|
||||
::id
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user