79d7babb57
#KT-37219 Fixed
14 lines
331 B
Kotlin
Vendored
14 lines
331 B
Kotlin
Vendored
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
|
|
@file:OptIn(Experimental::class)
|
|
|
|
@Retention(value = AnnotationRetention.BINARY)
|
|
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
|
annotation class Experimental
|
|
|
|
object MyObject
|
|
|
|
@Experimental
|
|
operator fun MyObject.invoke(closure: () -> Unit) {}
|
|
|
|
fun d() = <caret>MyObject {
|
|
} |