Java to Kotlin converter: generate "!!." instead of "?." for nullable values
#KT-3943 Fixed
This commit is contained in:
@@ -4,6 +4,6 @@ class C() {
|
||||
}
|
||||
|
||||
fun foo(): Int {
|
||||
return getString(true)?.length()!!
|
||||
return getString(true)!!.length()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user