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

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 OptIn annotation, e.g. @OptIn(ExperimentalUnsignedTypes::class), or with the -Xopt-in=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.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.