Files
codeql/java/ql/test/kotlin/library-tests/java-lang-number-conversions/test.kt
2022-06-14 21:44:54 +01:00

2 lines
188 B
Kotlin

fun f(n: Number, b: Byte) = n.toByte() + n.toShort() + n.toInt() + n.toLong() + n.toFloat() + n.toDouble() + b.toByte() + b.toShort() + b.toInt() + b.toLong() + b.toFloat() + b.toDouble()