[FIR] Promote numeric types during comparisons
Added support for comparing platform types. Extracted logic to convert operator expressions to OperatorExpressionGenerator.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
1d9967013b
commit
d4cbfcb79e
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun test1d(x: Double, y: Double) = x < y
|
||||
fun test2d(x: Double, y: Any) = y is Double && x < y
|
||||
fun test3d(x: Any, y: Any) = x is Double && y is Double && x < y
|
||||
|
||||
Reference in New Issue
Block a user