ankushg
10/29/2018, 6:13 PMcommonTest sources) using the Play button in the gutter, I get Error:(1, 18) Kotlin: [my-module_jvmMain] Declaration annotated with '@OptionalExpectation' can only be used in common module sources. Tests run perfectly fine with ./gradlew :my-module:jvmTest though!
I have a couple methods annotated with JsName and JvmStatic, but they very clearly are in the common module sources. I'm using a standard fromPreset(presets.jvm, 'jvm') target.
Do I need to explicitly call useExperimentalAnnotation or enableLanguageFeature to use annotations marked as @OptionalExpectation? Or is this an IDE issue? If it's an IDE issue, is there a ticket I should be following?orangy
udalov
ankushg
10/29/2018, 6:22 PM