Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/contextReceivers/genericOuterClass.fir.kt
T
2021-12-02 20:23:25 +03:00

13 lines
164 B
Kotlin
Vendored

context(T) class A<T>
context(Collection<P>) class B<P>
fun Int.foo() {
A<Int>()
A<String>()
}
fun Collection<Int>.bar() {
B<Int>()
B<String>()
}