Create actual: use analyzeWithContent to resolve annotations correctly
So #KT-26626 Fixed
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
annotation class ExperimentalMultiplatform
|
||||
annotation class OptionalExpectation
|
||||
|
||||
@ExperimentalMultiplatform
|
||||
@OptionalExpectation
|
||||
expect annotation class <caret>Ann
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
annotation class ExperimentalMultiplatform
|
||||
annotation class OptionalExpectation
|
||||
|
||||
@ExperimentalMultiplatform
|
||||
@OptionalExpectation
|
||||
expect annotation class <caret>Ann
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package kotlin
|
||||
|
||||
actual annotation class Ann
|
||||
Reference in New Issue
Block a user