[FE] Detect recursion when typealias referenced as annotation in its RHS
#KT-14612 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// ISSUE: KT-14612
|
||||
|
||||
typealias S = @S Suppress
|
||||
@@ -0,0 +1,3 @@
|
||||
// ISSUE: KT-14612
|
||||
|
||||
typealias S = <!RECURSIVE_TYPEALIAS_EXPANSION!>@S<!> Suppress
|
||||
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
public typealias S = @S /* = kotlin.Suppress */(names = {}) kotlin.Suppress
|
||||
|
||||
Reference in New Issue
Block a user