W3cubDocs

/Kotlin

ExperimentalTypeInference

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
@Target([AnnotationTarget.ANNOTATION_CLASS]) annotation class ExperimentalTypeInference

The experimental marker for type inference augmenting annotations.

Any usage of a declaration annotated with @ExperimentalTypeInference must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalTypeInference::class), or by using the compiler argument -Xopt-in=kotlin.experimental.ExperimentalTypeInference.

Constructors

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

<init>

The experimental marker for type inference augmenting annotations.

ExperimentalTypeInference()

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.experimental/-experimental-type-inference/index.html