[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
Vendored
+20
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user