Join Slack
Powered by
Trying to force it using a custom getter doesn't w...
# announcements
k
karelpeeters
07/09/2017, 11:34 PM
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.
2
Views
Open in Slack
Previous
Next