Allan Wang
06/18/2019, 12:57 AMfun a(): Int
Exists and I write
fun b() = a() + 2
I’d like to be able to automatically create
fun b(): Int = a() + 2
Currently I can view the inferred type but I still need to copy it myself, which isn’t easy with the pop up dialogShawn
06/18/2019, 1:13 AMalt/option+enter
and you’ll see the option you’re looking forkarelpeeters
06/18/2019, 5:34 AMAllan Wang
06/18/2019, 6:17 AMAllan Wang
06/18/2019, 6:17 AMShawn
06/19/2019, 11:37 AM