[FIR] Don't expand typealiases when checking for DeprecatedSinceKotlin
During serialization, this can lead to a cycle resulting in a Stack Overflow. #KT-58356 Fixed
This commit is contained in:
committed by
Space Team
parent
da884bd554
commit
c867a4b52f
@@ -0,0 +1,21 @@
|
||||
// MODULE: sub
|
||||
// FILE: sub.kt
|
||||
package foo
|
||||
|
||||
class Base {
|
||||
@RequiresOptIn
|
||||
annotation class My
|
||||
|
||||
@My
|
||||
@Deprecated("Yes")
|
||||
fun test() = "OK"
|
||||
}
|
||||
|
||||
// MODULE: dep(sub)
|
||||
// FILE: box.kt
|
||||
package some
|
||||
|
||||
import foo.Base
|
||||
|
||||
@OptIn(Base.My::class)
|
||||
fun box() = Base().test()
|
||||
Reference in New Issue
Block a user