Stdlib: fix build -- use named object instead of instance of Any because Any not mapped yet in JS backend.

This commit is contained in:
Zalim Bashorov
2014-09-17 17:21:54 +04:00
parent c142253fb9
commit 7a51ef5723
@@ -66,7 +66,7 @@ public class ObservableProperty<T>(
} }
} }
private val NULL_VALUE: Any = Any() private object NULL_VALUE {}
private fun escape(value: Any?): Any { private fun escape(value: Any?): Any {
return value ?: NULL_VALUE return value ?: NULL_VALUE