Java to Kotlin converter: even more smartness about nullability
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//method
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
void foo() {
|
||||
String s = bar()
|
||||
if (s != null) {
|
||||
zoo(s)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user