Trying to force it using a custom getter doesn't w...
# announcements
k
Trying to force it using a custom getter doesn't work either:
Copy code
val map: MutableMap<String, Int> = mutableMapOf()
    get() = field as Map<String, Int>
gives a type mismatch.