ExperimentalTypeInference

Common
JVM
JS
Native
1.3
@Target ( [AnnotationTarget.ANNOTATION_CLASS] ) annotation class ExperimentalTypeInference
(source)

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 -opt-in=kotlin.experimental.ExperimentalTypeInference .

Constructors

Common
JVM
JS
Native
1.0

<init>

The experimental marker for type inference augmenting annotations.

ExperimentalTypeInference ( )