Skip to content

Commit bee6cfc

Browse files
committed
Fix bug: w: file:///Users/lauzmata/kn/smithy-kotlin/runtime/smithy-client/native/src/aws/smithy/kotlin/runtime/client/util/AnnotationsNative.kt:8:8 Annotation @Retention(value = AnnotationRetention.SOURCE) is missing on actual declaration.
All annotations from expect `aws.smithy.kotlin.runtime.client.util.MpJvmDefaultWithoutCompatibility` must be present with the same arguments on actual `aws.smithy.kotlin.runtime.client.util.MpJvmDefaultWithoutCompatibility`, otherwise they might behave incorrectly.
1 parent 803f1b3 commit bee6cfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/smithy-client/native/src/aws/smithy/kotlin/runtime/client/util/AnnotationsNative.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
package aws.smithy.kotlin.runtime.client.util
77

8+
@Target(AnnotationTarget.CLASS)
9+
@Retention(AnnotationRetention.SOURCE)
810
public actual annotation class MpJvmDefaultWithoutCompatibility {
911
// No-op on non-JVM platforms
1012
}

0 commit comments

Comments
 (0)