ExperimentalAssociatedObjects
The experimental marker for associated objects API.
Any usage of a declaration annotated with @ExperimentalAssociatedObjects
must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalAssociatedObjects::class)
, or by using the compiler argument -opt-in=kotlin.reflect.ExperimentalAssociatedObjects
.
Since Kotlin
1.1The experimental marker for associated objects API.
Any usage of a declaration annotated with @ExperimentalAssociatedObjects
must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalAssociatedObjects::class)
, or by using the compiler argument -opt-in=kotlin.reflect.ExperimentalAssociatedObjects
.