Add inspection to simplify successive null checks #KT-14799 Fixed

This commit is contained in:
Dimach
2017-06-21 15:02:06 +03:00
committed by Mikhail Glukhikh
parent fc12f37105
commit 7407083624
17 changed files with 307 additions and 0 deletions
@@ -0,0 +1,7 @@
class My {
fun foo(): String? = null
}
fun test(my: My?) {
if (<caret>my != null && my.foo() != null) {}
}