Java to Kotlin converter: generate "!!." instead of "?." for nullable values

#KT-3943 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-10 18:30:58 +04:00
parent a07dae9734
commit b71061eb5c
12 changed files with 24 additions and 28 deletions
@@ -6,6 +6,6 @@ class Foo() {
fun foo(o: BitSet?) {
val o2: BitSet? = o
val foo: Int = 0
foo = o2?.size()!!
foo = o2!!.size()
}
}