W3cubDocs

/Kotlin

ExperimentalUnsignedTypes

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
@Target([AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS]) annotation class ExperimentalUnsignedTypes

Marks the API that is dependent on the experimental unsigned types, including those types themselves.

Usages of such API will be reported as warnings unless an explicit opt-in with the UseExperimental annotation, e.g. @UseExperimental(ExperimentalUnsignedTypes::class), or with the -Xuse-experimental=kotlin.ExperimentalUnsignedTypes compiler option is given.

It's recommended to propagate the experimental status to the API that depends on unsigned types by annotating it with this annotation.

Constructors

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

<init>

Marks the API that is dependent on the experimental unsigned types, including those types themselves.

ExperimentalUnsignedTypes()

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-experimental-unsigned-types/index.html