koltin beta 5093 compatibility — compiler bug

This commit is contained in:
Vladimir Krivosheev
2015-12-24 16:02:52 +01:00
parent abfe75d8f3
commit 500993b1ff
@@ -119,7 +119,7 @@ class StateMap private constructor(private val names: Array<String>, private val
fun getElement(key: String, newLiveStates: Map<String, Element>? = null) = stateToElement(key, get(key), newLiveStates)
fun isEmpty() = names.isEmpty()
fun isEmpty(): Boolean = names.isEmpty()
fun hasState(key: String) = get(key) is Element