[AA LC] Expand aliases of type arguments during conversion to KtType
^KT-55781
This commit is contained in:
committed by
Space Team
parent
36ae901b19
commit
ed867af01d
@@ -0,0 +1,13 @@
|
||||
public abstract interface Test /* Test*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract A foo();// foo()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract A fooAliased();// fooAliased()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract B<A, B<A, java.lang.String>> bar();// bar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract B<A, B<A, java.lang.String>> barAliased();// barAliased()
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Test
|
||||
interface A
|
||||
interface B<T, R>
|
||||
|
||||
typealias OtherA = A
|
||||
typealias OtherOtherA = OtherA
|
||||
typealias OtherB<X, Y> = B<Y, X>
|
||||
|
||||
interface Test {
|
||||
fun foo(): A
|
||||
fun fooAliased(): OtherA
|
||||
|
||||
fun bar(): B<A, B<A, String>>
|
||||
fun barAliased(): OtherB<OtherB<String, OtherA>, OtherOtherA>
|
||||
}
|
||||
Reference in New Issue
Block a user