Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
nj2k
/
testData
/
newJ2k
/
implicitCasts
/
arithmeticInFunctionCall.kt
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
())
}
}