Nikky
11/06/2018, 8:16 PMa ?: let {} ?: return b
seems okay
a is final and always initialized to null so the let block is dead codeAlpesh Vas
11/06/2018, 8:20 PMkarelpeeters
11/06/2018, 8:20 PMreturn b
twice?karelpeeters
11/06/2018, 8:21 PMb
, right?Alpesh Vas
11/06/2018, 8:22 PMShawn
11/06/2018, 8:23 PMreturn b
since (null)?.let
will just return null
and null ?: return
will return