KT-7443 Inspection + intention to replace assert (x != null) with "!!" or elvis
#KT-7443 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
|
||||
class C(val v: String?) {
|
||||
fun foo(p: Array<String?>) {
|
||||
val v = p[0]
|
||||
<caret>assert(this.v != null)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user