Files
kotlin-fork/compiler/testData/diagnostics/tests/kt53.kt
T
2012-10-19 19:42:54 +04:00

6 lines
114 B
Kotlin

val <T, E> T.foo : E<!BASE_WITH_NULLABLE_UPPER_BOUND!>?<!>
get() = null
fun test(): Int? {
return 1.foo
}