Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/bare/RedundantNullable.kt
T
2013-09-13 22:41:06 +02:00

4 lines
85 B
Kotlin

trait B<T>
class G<T>: B<T>
fun f(b: B<String>?) = b is G?<!REDUNDANT_NULLABLE!>?<!>