67fc46a190
#KT-57429 Fixed
15 lines
183 B
Kotlin
Vendored
15 lines
183 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !LANGUAGE: +ContextReceivers
|
|
|
|
context(T) class A<T>
|
|
|
|
context(Collection<P>) class B<P>
|
|
|
|
fun Int.foo() {
|
|
A<Int>()
|
|
}
|
|
|
|
fun Collection<Int>.bar() {
|
|
B<Int>()
|
|
}
|