mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
3160446a8c
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.