Files
kotlin-fork/compiler/testData/codegen/box/ranges/contains/genericCharInRangeLiteral.kt
T

7 lines
122 B
Kotlin
Vendored

class Cell<T>(val value: T)
fun box(): String =
if (Cell('a').value in 'a'..'z')
"OK"
else
"fail"