@gildor commented on
@Aditya’s file
https://kotlinlang.slack.com/files/U90THSTMM/F91HCLCMU/img_20180130_131804.jpg▾
: You will get exactly the same warning with var. Idea just smart enough to understand that this code doesn’t make sense and warns you that this condition is useless