Introduce Type Alias: Support type constructor extraction
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// NAME: S
|
||||
|
||||
class A<X, Y>
|
||||
|
||||
class B<T>
|
||||
|
||||
// SIBLING:
|
||||
fun foo(a: <selection>A</selection><(Int) -> B<Int>, B<String>?>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// NAME: S
|
||||
|
||||
class A<X, Y>
|
||||
|
||||
class B<T>
|
||||
|
||||
typealias S<T, U> = A<T, U>
|
||||
|
||||
// SIBLING:
|
||||
fun foo(a: S<(Int) -> B<Int>, B<String>?>) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user