Java to Kotlin converter: more smartness about nullability
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class C() {
|
||||
private val string: String? = getString()
|
||||
|
||||
class object {
|
||||
|
||||
fun getString(): String? {
|
||||
return x()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user