[CodeCompletion] Expr context type analysis for failed array literal expr
let _: [Foo] = [
.create(str: Int)
.create(#^COMPLETE^#)
]
Previously, this completion used to fail because the array expression
isn't typechecked. We need to analyze the context type of the array
literal first, that defines the type of the unresolved member
expression.
rdar://problem/50696432
(cherry picked from commit ee2f39cc211d88e23b6665cb67e13e3f452a4d57)