mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When expanding placeholders, we analyze the surrounding context of a placeholder to decide whether to expand the placeholder to a trailing closure. This analysis assumes CallExpr is the only AST node with argument; however UnresolvedMemberExpr can have argument as well. This commit teaches the analysis logic to handle both.