Files
kotlin-fork/j2k/testData/fileOrElement/issues/kt-19943.kt
T
2017-11-13 15:54:33 +03:00

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]
}
}