From 7a51ef5723d9277ba62225f43b79edc348f55e06 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Wed, 17 Sep 2014 17:21:54 +0400 Subject: [PATCH] Stdlib: fix build -- use named object instead of instance of Any because Any not mapped yet in JS backend. --- libraries/stdlib/src/kotlin/properties/Delegation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/properties/Delegation.kt b/libraries/stdlib/src/kotlin/properties/Delegation.kt index 233208189d9..c74e4925b87 100644 --- a/libraries/stdlib/src/kotlin/properties/Delegation.kt +++ b/libraries/stdlib/src/kotlin/properties/Delegation.kt @@ -66,7 +66,7 @@ public class ObservableProperty( } } -private val NULL_VALUE: Any = Any() +private object NULL_VALUE {} private fun escape(value: Any?): Any { return value ?: NULL_VALUE