deea0643ad
In case of type constructors captured parameters from outer classes #KT-5510 Fixed #KT-3112 Fixed #KT-6325 Fixed #KT-408 Fixed #KT-6337 Fixed
16 lines
251 B
Kotlin
Vendored
16 lines
251 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER
|
|
import Outer.Inner
|
|
|
|
|
|
class Outer<E> {
|
|
inner class Inner
|
|
|
|
fun foo() {
|
|
class E
|
|
val x: Inner = Inner()
|
|
}
|
|
}
|
|
|
|
class E
|
|
|
|
fun bar(x: <!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Inner<!>) {} |