{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/5098","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/5098/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/5098/comments","events_url":"https://api.github.com/repos/apple/swift/issues/5098/events","html_url":"https://github.com/apple/swift/pull/5098","id":180553985,"number":5098,"title":"[Type Checker] SR-2505: Fix \"Call arguments did not match up\" assertion","user":{"login":"xedin","id":21240,"avatar_url":"https://avatars.githubusercontent.com/u/21240?v=3","gravatar_id":"","url":"https://api.github.com/users/xedin","html_url":"https://github.com/xedin","followers_url":"https://api.github.com/users/xedin/followers","following_url":"https://api.github.com/users/xedin/following{/other_user}","gists_url":"https://api.github.com/users/xedin/gists{/gist_id}","starred_url":"https://api.github.com/users/xedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xedin/subscriptions","organizations_url":"https://api.github.com/users/xedin/orgs","repos_url":"https://api.github.com/users/xedin/repos","events_url":"https://api.github.com/users/xedin/events{/privacy}","received_events_url":"https://api.github.com/users/xedin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rudkx","id":162784,"avatar_url":"https://avatars.githubusercontent.com/u/162784?v=3","gravatar_id":"","url":"https://api.github.com/users/rudkx","html_url":"https://github.com/rudkx","followers_url":"https://api.github.com/users/rudkx/followers","following_url":"https://api.github.com/users/rudkx/following{/other_user}","gists_url":"https://api.github.com/users/rudkx/gists{/gist_id}","starred_url":"https://api.github.com/users/rudkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudkx/subscriptions","organizations_url":"https://api.github.com/users/rudkx/orgs","repos_url":"https://api.github.com/users/rudkx/repos","events_url":"https://api.github.com/users/rudkx/events{/privacy}","received_events_url":"https://api.github.com/users/rudkx/received_events","type":"User","site_admin":false},"assignees":[{"login":"rudkx","id":162784,"avatar_url":"https://avatars.githubusercontent.com/u/162784?v=3","gravatar_id":"","url":"https://api.github.com/users/rudkx","html_url":"https://github.com/rudkx","followers_url":"https://api.github.com/users/rudkx/followers","following_url":"https://api.github.com/users/rudkx/following{/other_user}","gists_url":"https://api.github.com/users/rudkx/gists{/gist_id}","starred_url":"https://api.github.com/users/rudkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudkx/subscriptions","organizations_url":"https://api.github.com/users/rudkx/orgs","repos_url":"https://api.github.com/users/rudkx/repos","events_url":"https://api.github.com/users/rudkx/events{/privacy}","received_events_url":"https://api.github.com/users/rudkx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2016-10-03T02:46:38Z","updated_at":"2016-10-05T00:21:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/5098","html_url":"https://github.com/apple/swift/pull/5098","diff_url":"https://github.com/apple/swift/pull/5098.diff","patch_url":"https://github.com/apple/swift/pull/5098.patch"},"body":"<!-- What's in this pull request? -->\r\nAlways check arguments of the tuple type against corresponding parameters,\r\notherwise for a single argument functions e.g. foo(_ a: Any) after SE-0046\r\ntype checker is going to produce incorrect solution.\r\n\r\n<!-- If this pull request resolves any bugs in the Swift bug tracker, provide a link: -->\r\nResolves [SR-2505](https://bugs.swift.org/browse/SR-2505).\r\n\r\n<!--\r\nBefore merging this pull request, you must run the Swift continuous integration tests.\r\nFor information about triggering CI builds via @swift-ci, see:\r\nhttps://github.com/apple/swift/blob/master/docs/ContinuousIntegration.md#swift-ci\r\n\r\nThank you for your contribution to Swift!\r\n-->"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/251550673","html_url":"https://github.com/apple/swift/pull/5098#issuecomment-251550673","issue_url":"https://api.github.com/repos/apple/swift/issues/5098","id":251550673,"user":{"login":"rudkx","id":162784,"avatar_url":"https://avatars.githubusercontent.com/u/162784?v=3","gravatar_id":"","url":"https://api.github.com/users/rudkx","html_url":"https://github.com/rudkx","followers_url":"https://api.github.com/users/rudkx/followers","following_url":"https://api.github.com/users/rudkx/following{/other_user}","gists_url":"https://api.github.com/users/rudkx/gists{/gist_id}","starred_url":"https://api.github.com/users/rudkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudkx/subscriptions","organizations_url":"https://api.github.com/users/rudkx/orgs","repos_url":"https://api.github.com/users/rudkx/repos","events_url":"https://api.github.com/users/rudkx/events{/privacy}","received_events_url":"https://api.github.com/users/rudkx/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T00:21:36Z","updated_at":"2016-10-05T00:21:36Z","body":"@xedin Okay, we only build swift-corelibs-foundation for Linux, which is why we only see the failure there. I think name lookup was finding a different contains() before, but is now finding the member function, hence the admonition to prepend `self.` on the call.\r\n\r\nI suspect the new behavior is the correct one, but we need to determine that and talk to the swift-corelibs-foundation about taking a patch which fixes that code before attempting to commit the compiler change."}}
{"actor":{"display_login":"rudkx"}}