Join Slack
Powered by
the compiler can't infer that just because `contai...
# getting-started
k
kevinmost
08/17/2017, 5:32 PM
the compiler can't infer that just because
containsKey
was true, you will get a non-null value out. You could just do something like
propNameCache[cacheKey]?.let { return it }
5
Views
Open in Slack
Previous
Next