// FIR_IDENTICAL // See KT-10056 class Foo(val bar: String) fun test(foo: Foo?) { foo?.bar.let { // Error, foo?.bar is nullable it.length // Error, foo is nullable foo.bar.length // Correct foo?.bar?.length } }