{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/3293","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/3293/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/3293/comments","events_url":"https://api.github.com/repos/apple/swift/issues/3293/events","html_url":"https://github.com/apple/swift/pull/3293","id":163424558,"number":3293,"title":"Implement SE-0095: Replace protocol<P1, P2> syntax with P1 & P2","user":{"login":"joewillsher","id":10184096,"avatar_url":"https://avatars.githubusercontent.com/u/10184096?v=3","gravatar_id":"","url":"https://api.github.com/users/joewillsher","html_url":"https://github.com/joewillsher","followers_url":"https://api.github.com/users/joewillsher/followers","following_url":"https://api.github.com/users/joewillsher/following{/other_user}","gists_url":"https://api.github.com/users/joewillsher/gists{/gist_id}","starred_url":"https://api.github.com/users/joewillsher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewillsher/subscriptions","organizations_url":"https://api.github.com/users/joewillsher/orgs","repos_url":"https://api.github.com/users/joewillsher/repos","events_url":"https://api.github.com/users/joewillsher/events{/privacy}","received_events_url":"https://api.github.com/users/joewillsher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-07-01T15:54:14Z","updated_at":"2016-07-19T07:11:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/3293","html_url":"https://github.com/apple/swift/pull/3293","diff_url":"https://github.com/apple/swift/pull/3293.diff","patch_url":"https://github.com/apple/swift/pull/3293.patch"},"body":"#### What's in this pull request?\r\n\r\nImplementation for [SE-0095](https://github.com/apple/swift-evolution/blob/master/proposals/0095-any-as-existential.md): Replace `protocol<P1, P2>` syntax with `P1 & P2`.\r\n\r\nThis PR implements:\r\n- Parsing of the new syntax (in `parseTypeIdentifierOrTypeComposition`)\r\n- A warning for the old syntax which will soon be changed to an error, plus a fixit to move to new syntax\r\n- `Any` becomes a keyword and is removed from the standard library\r\n- Changed the demangler & AST printer to use the new syntax\r\n- IRGen mangles compositions slightly differently\r\n- `PreCheckExpression` supports parsing compositions\r\n- Code completion for the `Any` keyword\r\n\r\n#### Resolved bug number: ([SR-1938](https://bugs.swift.org/browse/SR-1938))\r\n\r\n* * * *\r\n\r\n<!-- This selection should only be completed by Swift admin -->\r\nBefore merging this pull request to apple/swift repository:\r\n- [ ] Test pull request on Swift continuous integration.\r\n\r\n<details>\r\n  <summary>Triggering Swift CI</summary>\r\n\r\nThe swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:\r\n\r\n**Smoke Testing**\r\n\r\n        Platform     | Comment\r\n        ------------ | -------------\r\n        All supported platforms     | @swift-ci Please smoke test\r\n        All supported platforms     | @swift-ci Please smoke test and merge\r\n        OS X platform               | @swift-ci Please smoke test OS X platform\r\n        Linux platform              | @swift-ci Please smoke test Linux platform\r\n\r\n**Validation Testing**\r\n\r\n        Platform     | Comment\r\n        ------------ | -------------\r\n        All supported platforms     | @swift-ci Please test\r\n        All supported platforms     | @swift-ci Please test and merge\r\n        OS X platform               | @swift-ci Please test OS X platform\r\n        OS X platform               | @swift-ci Please benchmark\r\n        Linux platform              | @swift-ci Please test Linux platform\r\n\r\n\r\n**Lint Testing**\r\n\r\n        Language     | Comment\r\n        ------------ | -------------\r\n        Python       | @swift-ci Please Python lint\r\n\r\nNote: Only members of the Apple organization can trigger swift-ci.\r\n</details>\r\n<!-- Thank you for your contribution to Swift! -->"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/233550053","html_url":"https://github.com/apple/swift/pull/3293#issuecomment-233550053","issue_url":"https://api.github.com/repos/apple/swift/issues/3293","id":233550053,"user":{"login":"DougGregor","id":989428,"avatar_url":"https://avatars.githubusercontent.com/u/989428?v=3","gravatar_id":"","url":"https://api.github.com/users/DougGregor","html_url":"https://github.com/DougGregor","followers_url":"https://api.github.com/users/DougGregor/followers","following_url":"https://api.github.com/users/DougGregor/following{/other_user}","gists_url":"https://api.github.com/users/DougGregor/gists{/gist_id}","starred_url":"https://api.github.com/users/DougGregor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougGregor/subscriptions","organizations_url":"https://api.github.com/users/DougGregor/orgs","repos_url":"https://api.github.com/users/DougGregor/repos","events_url":"https://api.github.com/users/DougGregor/events{/privacy}","received_events_url":"https://api.github.com/users/DougGregor/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T07:11:54Z","updated_at":"2016-07-19T07:11:54Z","body":"@swift-ci please smoke test and merge"}}
{"actor":{"display_login":"DougGregor"}}