@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
.
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