Introduce "Useless call on not-null type" inspection #KT-18386 Fixed
Supported functions: orEmpty(), isNullOrEmpty(), isNullOrBlank()
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val s = ""
|
||||
val s1 = s<caret>.orEmpty()
|
||||
Reference in New Issue
Block a user