FIR: make deeper recursive type alias expansion check (see KT-37000)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
FILE: recursiveTypeAlias.kt
|
||||
public abstract interface Something<D, T : R|() -> Something1<D>|> : R|kotlin/Any| {
|
||||
}
|
||||
public final typealias Something1<D> = <ERROR TYPE REF: Loop in supertype: /Something1 -> /Something>
|
||||
@@ -0,0 +1,2 @@
|
||||
interface Something<D, T : () -> Something1<D>>
|
||||
typealias Something1<D> = <!RECURSIVE_TYPEALIAS_EXPANSION!>Something<D, () -> Something1<D>><!>
|
||||
Reference in New Issue
Block a user