14 lines
182 B
Kotlin
Vendored
14 lines
182 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>()
|
|
} |