Fix SOE when recursive type argument is used with star projection
#KT-41043 Fixed
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
class Foo<out T>(val key: T)
|
||||
class Bar()
|
||||
|
||||
class KFlowable<T> {
|
||||
fun <R> scan(initial: R, accumulator: (R, T) -> R) {}
|
||||
}
|
||||
|
||||
fun test(k: KFlowable<Foo<Enum<*>>>) {
|
||||
k.scan(Bar()) { s, t -> Bar() }
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
test(KFlowable())
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user