Do not throw assertion on recursion in typealias declaration,
return empty list of descriptors instead, allowing for proper error reporting later. #KT-18344 fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER
|
||||
|
||||
typealias R<T: List<R>> = List<T>
|
||||
@@ -0,0 +1,3 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER
|
||||
|
||||
typealias R<T: <!BOUND_ON_TYPE_ALIAS_PARAMETER_NOT_ALLOWED!>List<<!UNRESOLVED_REFERENCE!>R<!>><!>> = List<T>
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public typealias R</*0*/ T : kotlin.collections.List<[ERROR : R]>> = kotlin.collections.List<T>
|
||||
Reference in New Issue
Block a user