Type alias shouldn't expand to a malformed type (e.g., 'Array<Nothing>').
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
typealias A<T> = Array<T>
|
||||
typealias AA<T> = A<A<T>>
|
||||
|
||||
typealias AN = <!TYPEALIAS_EXPANDED_TO_MALFORMED_TYPE!>A<Nothing><!>
|
||||
|
||||
typealias AAN = <!TYPEALIAS_EXPANDED_TO_MALFORMED_TYPE!>AA<Nothing><!>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public typealias A</*0*/ T> = kotlin.Array<T>
|
||||
public typealias AA</*0*/ T> = A<A<T>>
|
||||
public typealias AAN = AA<kotlin.Nothing>
|
||||
public typealias AN = A<kotlin.Nothing>
|
||||
Reference in New Issue
Block a user