26 lines
295 B
Plaintext
Vendored
26 lines
295 B
Plaintext
Vendored
class A<T : Any?> {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class B<P : Any?> {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fun Int.foo() {
|
|
A<Int>() /*~> Unit */
|
|
}
|
|
|
|
fun Collection<Int>.bar() {
|
|
B<Int>() /*~> Unit */
|
|
}
|