Join Slack
Powered by
btw, this happened during my coding today, and I h...
# advent-of-code
m
Michael de Kaste
12/08/2021, 5:49 PM
btw, this happened during my coding today, and I have no idea why the compiler trips:
Michael de Kaste
12/08/2021, 5:50 PM
this works fine
i
ilya.gorbunov
12/08/2021, 6:02 PM
Yes, this is a known problem with type inference:
https://youtrack.jetbrains.com/issue/KT-46360
👍 1
m
Michael de Kaste
12/08/2021, 6:07 PM
pretty long persistent problem 🧐
d
Dan Fingal-Surma
12/08/2021, 8:13 PM
I had a similar issue when I tried to forEach a type-inferred map without destructing the entry arg (ie relying on 'it')
3
Views
Open in Slack
Previous
Next