Mark Lewis
Jul 10, 2021

--

This isn't the same behavior as Scala. I have no idea why the type inference here would be for a lambda. It seems like such an odd behavior that I'm wondering if I missed something. If I haven't missed something, this seems like a poor design choice for Kotlin.

--

--

Mark Lewis
Mark Lewis

Written by Mark Lewis

Computer Science Professor, Planetary Rings Simulator, Scala Zealot

No responses yet