FIR: Support FirComparisonOperator in Fir2Ir
^KT-31163 Fixed
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
class C
|
||||
|
||||
operator fun C.compareTo(o: C) : Int {
|
||||
@@ -9,4 +8,4 @@ operator fun C.compareTo(o: C) : Int {
|
||||
return -1
|
||||
}
|
||||
|
||||
fun box() : String = if (C() > C()) "OK" else "FAIL"
|
||||
fun box() : String = if (C() > C()) "OK" else "FAIL"
|
||||
|
||||
Reference in New Issue
Block a user