Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added.

This commit is contained in:
Sergey Lukjanov
2012-06-27 16:49:20 +04:00
committed by Nikolay Krasko
parent 62ff95205c
commit d879827371
2 changed files with 8 additions and 0 deletions
@@ -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()
}