Files
kotlin-fork/compiler/testData/diagnostics/tests/j+k/recursiveRawUpperBound.kt
T
Andrey Breslav 8d65613eed Create <out Any?> projections for raw Java types, not <*>
KT-3760 Internal compiler error with Java interoperability and ElasticSearch 0.90.2 (IllegalStateException, Type parameter descriptor in not initialized: T declared in ...)
 #KT-3760 Fixed

EA-44150 Type parameter descriptor in not initialized. Fixed
2013-07-10 08:28:47 +04:00

14 lines
148 B
Kotlin

// FILE: Bad.java
class Bad<T extends Bad> {}
// FILE: X.java
class X {
Bad foo() {return null;}
}
// FILE: Usage.kt
fun foo(p: X) = p.foo()