1a90866ce1
#KT-37120 fixed
16 lines
298 B
Kotlin
Vendored
16 lines
298 B
Kotlin
Vendored
class A<T> {
|
|
fun foo() {
|
|
val q = object {
|
|
open inner class B
|
|
inner class C : B()
|
|
|
|
// No WRONG_NUMBER_OF_TYPE_ARGUMENTS should be reported on these types
|
|
val x: B = B()
|
|
val y: C = C()
|
|
}
|
|
|
|
q.x
|
|
q.y
|
|
}
|
|
}
|