5eb69e0ae4
* 'Replace safe access expression with 'if' expression' IDEA Kotlin plugin intention may failed #KT-20010 Fixed * #KT-20010 Fixed
9 lines
129 B
Plaintext
Vendored
9 lines
129 B
Plaintext
Vendored
class Foo {
|
|
var bar: Bar? = null
|
|
}
|
|
class Bar {
|
|
var baz = 1
|
|
}
|
|
fun test(foo: Foo?) {
|
|
if (foo != null) foo.bar = Bar()
|
|
} |