diff --git a/libraries/scripting/common/src/kotlin/script/experimental/util/propertiesCollection.kt b/libraries/scripting/common/src/kotlin/script/experimental/util/propertiesCollection.kt index 0941fc25750..e946009ae94 100644 --- a/libraries/scripting/common/src/kotlin/script/experimental/util/propertiesCollection.kt +++ b/libraries/scripting/common/src/kotlin/script/experimental/util/propertiesCollection.kt @@ -57,9 +57,9 @@ open class PropertiesCollection(private val properties: Map, Any?> = empt override fun hashCode(): Int = properties.hashCode() companion object { - fun key(defaultValue: T? = null) = PropertyKeyDelegate(defaultValue) - fun key(getDefaultValue: PropertiesCollection.() -> T?) = PropertyKeyDelegate(getDefaultValue) - fun keyCopy(source: Key) = PropertyKeyCopyDelegate(source) + fun key(defaultValue: T? = null): PropertyKeyDelegate = PropertyKeyDelegate(defaultValue) + fun key(getDefaultValue: PropertiesCollection.() -> T?): PropertyKeyDelegate = PropertyKeyDelegate(getDefaultValue) + fun keyCopy(source: Key): PropertyKeyCopyDelegate = PropertyKeyCopyDelegate(source) @JvmStatic private val serialVersionUID = 1L