Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added.
This commit is contained in:
committed by
Nikolay Krasko
parent
62ff95205c
commit
d879827371
@@ -0,0 +1,4 @@
|
|||||||
|
// "Remove unnecessary non-null assertion (!!)" "false"
|
||||||
|
fun test(value : String) : Int {
|
||||||
|
return value<caret>!!.length()
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// "Remove unnecessary non-null assertion (!!)" "false"
|
||||||
|
fun test(value : String) : Int {
|
||||||
|
return value<caret>!!.length()
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user