083c3d8a5d
#KT-19943 Fixed
25 lines
461 B
Kotlin
Vendored
25 lines
461 B
Kotlin
Vendored
class TestSpecialMethodForTypeValue {
|
|
fun testByte(xs: List<Byte>): Byte {
|
|
return xs[0]
|
|
}
|
|
|
|
fun testShort(xs: List<Short>): Short {
|
|
return xs[0]
|
|
}
|
|
|
|
fun testInt(xs: List<Int>): Int {
|
|
return xs[0]
|
|
}
|
|
|
|
fun testLong(xs: List<Long>): Long {
|
|
return xs[0]
|
|
}
|
|
|
|
fun testFloat(xs: List<Float>): Float {
|
|
return xs[0]
|
|
}
|
|
|
|
fun testDouble(xs: List<Double>): Double {
|
|
return xs[0]
|
|
}
|
|
} |