[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
class Foo(val bar: String?)
|
||||
|
||||
fun test(foo: Foo?) {
|
||||
foo!!.bar.let {
|
||||
// Correct
|
||||
foo.bar?.length
|
||||
// Unnecessary
|
||||
foo?.bar?.length
|
||||
}
|
||||
foo.bar?.length
|
||||
}
|
||||
Reference in New Issue
Block a user