[FE] Allow @OptionalExpectation to be present only on expect
^KT-58551
This commit is contained in:
committed by
Space Team
parent
1a4ab9bb4b
commit
b6cae1adcc
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
@OptIn(ExperimentalMultiplatform::class)
|
||||
@OptionalExpectation
|
||||
expect annotation class MyAnnotation
|
||||
|
||||
// MODULE: m1-jvm()()(m1-common)
|
||||
// FILE: jvm.kt
|
||||
@OptIn(ExperimentalMultiplatform::class)
|
||||
actual annotation class MyAnnotation
|
||||
Reference in New Issue
Block a user