Files
Anastasia Pikalova f2f5834cda [kotlin] Update SubclassOptInRequired quickFixes following KT-70562 changes
Added tests for SubclassOptInRequired with multiple markers

^KTIJ-31183 Fixed

GitOrigin-RevId: 8f4bb49fc94777c25002dcce3e05ec2453a5e50d
2024-09-23 16:37:56 +02:00

19 lines
401 B
Kotlin

// PROBLEM: none
// WITH_STDLIB
@file:OptIn(UnstableApiA::class, UnstableApiB::class, ExperimentalSubclassOptIn::class)
@RequiresOptIn
annotation class UnstableApiA
@RequiresOptIn
annotation class UnstableApiB
@SubclassOptInRequired(UnstableApiA::class, UnstableApiB::class)
interface CoreLibraryApi
interface SomeImplementation : CoreLibraryApi
interface SomeChild : SomeImplementation<caret>