blob: 08d10baf4c2c0a3624448bafc912d0b04d4764f5 [file] [log] [blame]
internal class A {
fun acceptDouble(d: Double) {}
fun acceptDoubleBoxed(d: Double?) {}
fun conversion() {
val a = 10
val b = 0.7f
acceptDouble((a * b).toDouble())
acceptDoubleBoxed((a * b).toDouble())
}
}