1a4ab9bb4b
This implementation only checks annotations set on expect/actual declarations and requires further refinement (e.g. checking of other annotation targets, class scopes within typealiases). ^KT-58551
11 lines
175 B
Kotlin
Vendored
11 lines
175 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// ADDITIONAL_COMPILER_ARGUMENTS: -opt-in=kotlin.ExperimentalMultiplatform
|
|
|
|
@OptionalExpectation
|
|
expect annotation class A()
|
|
|
|
class C {
|
|
@A
|
|
fun f() {}
|
|
}
|