Type Inference on Function Reference?

Thanks, filed an issue: https://youtrack.jetbrains.com/issue/KT-31630. The error is fixed in the experimental new inference algorithm, learn more on how to try it here: Kotlin 1.3.40 Early Access Preview