8f9c09482b
Before this, the order of the constraints being added was incorrect ^KT-64222 Fixed
18 lines
256 B
Kotlin
Vendored
18 lines
256 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// ISSUE: KT-64222
|
|
|
|
interface A {
|
|
fun bar(): B<Int>
|
|
}
|
|
|
|
interface B<T>
|
|
fun <E> foo(block: B<E>.() -> Unit): B<E> = TODO()
|
|
|
|
class C : A {
|
|
private var value: B<Int>? = null
|
|
|
|
override fun bar() = foo {
|
|
value = this
|
|
}
|
|
}
|