[IR] add testdata for dumpKotlinLike

This commit is contained in:
Zalim Bashorov
2020-11-05 02:47:53 +03:00
committed by teamcityserver
parent d2022ab115
commit 8d5facb15f
365 changed files with 15516 additions and 0 deletions
@@ -0,0 +1,20 @@
fun testD(x: Comparable<Double>, y: Comparable<Double>): Boolean {
return when {
when {
x is Double -> y is Double
true -> false
} -> less(arg0 = x /*as Double */, arg1 = y /*as Double */)
true -> false
}
}
fun testF(x: Comparable<Float>, y: Comparable<Float>): Boolean {
return when {
when {
x is Float -> y is Float
true -> false
} -> less(arg0 = x /*as Float */, arg1 = y /*as Float */)
true -> false
}
}