diff --git a/libraries/stdlib/src/kotlin/util/Lazy.kt b/libraries/stdlib/src/kotlin/util/Lazy.kt index 317c98a81a1..025ef7a4c2c 100644 --- a/libraries/stdlib/src/kotlin/util/Lazy.kt +++ b/libraries/stdlib/src/kotlin/util/Lazy.kt @@ -78,7 +78,8 @@ public fun lazy(lock: Any?, initializer: () -> T): Lazy = SynchronizedLaz * This extension allows to use instances of Lazy for property delegation: * `val property: String by lazy { initializer }` */ -public operator fun Lazy.getValue(thisRef: Any?, property: KProperty<*>): T = value +@kotlin.internal.InlineOnly +public inline operator fun Lazy.getValue(thisRef: Any?, property: KProperty<*>): T = value /** * Specifies how a [Lazy] instance synchronizes access among multiple threads.