Can you spot the mistake: `fun foo(key: Bar) = cac...
# stdlib
c
Can you spot the mistake:
fun foo(key: Bar) = cache.getOrPut(key) { return somethingSomething(key) }
y
chalup: remove the return?
c
Yes, removing the
return
solves the problem.