Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt
T
Denis Zharkov deea0643ad Refine type arguments resolution and rendering
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
2015-11-13 14:47:28 +03:00

9 lines
111 B
Kotlin
Vendored

// "Create class 'Foo'" "true"
class A<T>(val n: T) {
}
fun test<U>(u: U) {
val a = A(u).<caret>Foo(u)
}