Files
kotlin-fork/compiler/fir/psi2fir/testData/rawBuilder/expressions/genericCalls.kt
T
Mikhail Glukhikh db2fb86c8e Raw FIR: implement expression trees & conversions from PSI
Testing: total kotlin test controls no stubs in FIR in non-stub-mode
#KT-29002 Fixed
2019-02-06 11:58:59 +03:00

7 lines
155 B
Kotlin
Vendored

fun <T> nullableValue(): T? = null
fun test() {
val n = nullableValue<Int>()
val x = nullableValue<Double>()
val s = nullableValue<String>()
}