d4cbfcb79e
Added support for comparing platform types. Extracted logic to convert operator expressions to OperatorExpressionGenerator.
17 lines
267 B
Kotlin
Vendored
17 lines
267 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
//FILE: Holder.java
|
|
|
|
class Holder {
|
|
public Double value;
|
|
public Holder(Double value) { this.value = value; }
|
|
}
|
|
|
|
//FILE: test.kt
|
|
|
|
import Holder
|
|
|
|
fun box(): String {
|
|
val j = Holder(0.99)
|
|
return if (j.value > 0) "OK" else "fail"
|
|
}
|