Open
Description
Previous ID | SR-13011 |
Radar | None |
Original Reporter | leisurehound (JIRA User) |
Type | Bug |
Attachment: Download
Additional Detail from JIRA
Votes | 0 |
Component/s | swift-format |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: d94a19ff926d1ac4c036ad3673897328
Issue Description:
In SwiftUI examples, Apple demonstrates how to utilize the action & view closures for the Button element with two trailing closures:
Button(action: {
// do something
}) {
Text("Label")
}
But swift-format will suggest to revise function calling signature to remove multiple trailing closures.