payload: {"action":"created","issue":{"url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/471","repository_url":"https://api.github.com/repos/nicklockwood/SwiftFormat","labels_url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/471/comments","events_url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/471/events","html_url":"https://github.com/nicklockwood/SwiftFormat/issues/471","id":476212846,"node_id":"MDU6SXNzdWU0NzYyMTI4NDY=","number":471,"title":"wrapArguments impacts tuple","user":{"login":"VinceBurn","id":5777036,"node_id":"MDQ6VXNlcjU3NzcwMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/5777036?v=4","gravatar_id":"","url":"https://api.github.com/users/VinceBurn","html_url":"https://github.com/VinceBurn","followers_url":"https://api.github.com/users/VinceBurn/followers","following_url":"https://api.github.com/users/VinceBurn/following{/other_user}","gists_url":"https://api.github.com/users/VinceBurn/gists{/gist_id}","starred_url":"https://api.github.com/users/VinceBurn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VinceBurn/subscriptions","organizations_url":"https://api.github.com/users/VinceBurn/orgs","repos_url":"https://api.github.com/users/VinceBurn/repos","events_url":"https://api.github.com/users/VinceBurn/events{/privacy}","received_events_url":"https://api.github.com/users/VinceBurn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-02T14:38:14Z","updated_at":"2019-09-23T19:09:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi @nicklockwood , I've notice that wrapArguments rules with Wrap Arguments after-first option is modifying Tuple as well.\r\n\r\nConsidering this type:\r\n```\r\nstruct MyStruct {\r\n  let name: String\r\n}\r\n```\r\n\r\nwith  a function written like this:\r\n```\r\nfunc returnTuple() -> (MyStruct, MyStruct) {\r\n  return (\r\n    MyStruct(name: \"First\"),\r\n    MyStruct(name: \"Second\")\r\n  )\r\n}\r\n```\r\n\r\nwrapArguments rules with Wrap Arguments after-first option will produce this output:\r\n```\r\nfunc returnTuple() -> (MyStruct, MyStruct) {\r\n  return (MyStruct(name: \"First\"),\r\n          MyStruct(name: \"Second\"))\r\n}\r\n```\r\n\r\nI was surprise by that change, (fortunately it pointed me to a badly formatted tuple).\r\n\r\nI was wondering if this was intended or not. And I'm not sure what would be the good thing to have here.\r\n"},"comment":{"url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/comments/534241098","html_url":"https://github.com/nicklockwood/SwiftFormat/issues/471#issuecomment-534241098","issue_url":"https://api.github.com/repos/nicklockwood/SwiftFormat/issues/471","id":534241098,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNDI0MTA5OA==","user":{"login":"nicklockwood","id":546885,"node_id":"MDQ6VXNlcjU0Njg4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/546885?v=4","gravatar_id":"","url":"https://api.github.com/users/nicklockwood","html_url":"https://github.com/nicklockwood","followers_url":"https://api.github.com/users/nicklockwood/followers","following_url":"https://api.github.com/users/nicklockwood/following{/other_user}","gists_url":"https://api.github.com/users/nicklockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklockwood/subscriptions","organizations_url":"https://api.github.com/users/nicklockwood/orgs","repos_url":"https://api.github.com/users/nicklockwood/repos","events_url":"https://api.github.com/users/nicklockwood/events{/privacy}","received_events_url":"https://api.github.com/users/nicklockwood/received_events","type":"User","site_admin":false},"created_at":"2019-09-23T19:09:07Z","updated_at":"2019-09-23T19:09:07Z","author_association":"OWNER","body":"@VinceBurn this wasn't intentional. I guess it might make sense to add a 3rd configuration option for wrapping tuples (as opposed to arguments and collections)."}}
other: {"actor":{"display_login":"nicklockwood"}}