[IR] dumpKotlinLike: add testdata for FIR tests
This commit is contained in:
committed by
teamcityserver
parent
d7bd4240e1
commit
c68040753d
@@ -0,0 +1,24 @@
|
||||
fun test1(): Runnable {
|
||||
return local fun <anonymous>() {
|
||||
return Unit
|
||||
}
|
||||
/*-> Runnable */
|
||||
}
|
||||
|
||||
fun test2(a: Function0<Unit>): Runnable {
|
||||
return a /*-> Runnable */
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
fun test3(): Runnable {
|
||||
return ::foo /*-> Runnable */
|
||||
}
|
||||
|
||||
fun test4(): Comparator<Int?> {
|
||||
return local fun <anonymous>(a: Int?, b: Int?): Int {
|
||||
return a.minus(other = b /*!! Int */)
|
||||
}
|
||||
/*-> Comparator<Int?> */
|
||||
}
|
||||
Reference in New Issue
Block a user