mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
32 KiB
32 KiB