mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KT-37219 Fixed Original commit: 79d7babb5761e70c7827e1f726332294447be7cd GitOrigin-RevId: 235e0b0e5cfb0bd020971a2487017906cf78ab75
14 lines
331 B
Kotlin
14 lines
331 B
Kotlin
// 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 {
|
|
} |