stephanc04/17/2018, 8:28 AM
, at least there is scoping functions as well that limits this.
ilya.gorbunov04/17/2018, 12:32 PM
However, it isn't completely clear from the kotlin docs that kotlin's safe call is not like C#'s null propagation.This was discussed earlier here https://discuss.kotlinlang.org/t/foo-bar-yolo-stop-mixed-nullable-non-nullable-call-chain/5506 In short safe calls cannot be short-circuited, because there could be extension functions on nullable receivers in a call chain, like
stephanc04/17/2018, 1:31 PM