{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/4935","repository_url":"https://api.github.com/repos/scala/scala","labels_url":"https://api.github.com/repos/scala/scala/issues/4935/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/4935/comments","events_url":"https://api.github.com/repos/scala/scala/issues/4935/events","html_url":"https://github.com/scala/scala/pull/4935","id":130088974,"number":4935,"title":"SI-8044 Allow binding backquoted varid in patterns","user":{"login":"som-snytt","id":369425,"avatar_url":"https://avatars.githubusercontent.com/u/369425?v=3","gravatar_id":"","url":"https://api.github.com/users/som-snytt","html_url":"https://github.com/som-snytt","followers_url":"https://api.github.com/users/som-snytt/followers","following_url":"https://api.github.com/users/som-snytt/following{/other_user}","gists_url":"https://api.github.com/users/som-snytt/gists{/gist_id}","starred_url":"https://api.github.com/users/som-snytt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/som-snytt/subscriptions","organizations_url":"https://api.github.com/users/som-snytt/orgs","repos_url":"https://api.github.com/users/som-snytt/repos","events_url":"https://api.github.com/users/som-snytt/events{/privacy}","received_events_url":"https://api.github.com/users/som-snytt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scala/scala/labels/release-notes","name":"release-notes","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"adriaanm","id":91083,"avatar_url":"https://avatars.githubusercontent.com/u/91083?v=3","gravatar_id":"","url":"https://api.github.com/users/adriaanm","html_url":"https://github.com/adriaanm","followers_url":"https://api.github.com/users/adriaanm/followers","following_url":"https://api.github.com/users/adriaanm/following{/other_user}","gists_url":"https://api.github.com/users/adriaanm/gists{/gist_id}","starred_url":"https://api.github.com/users/adriaanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriaanm/subscriptions","organizations_url":"https://api.github.com/users/adriaanm/orgs","repos_url":"https://api.github.com/users/adriaanm/repos","events_url":"https://api.github.com/users/adriaanm/events{/privacy}","received_events_url":"https://api.github.com/users/adriaanm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/52","html_url":"https://github.com/scala/scala/milestones/2.12.0-M5","labels_url":"https://api.github.com/repos/scala/scala/milestones/52/labels","id":1355301,"number":52,"title":"2.12.0-M5","description":"Merge to 2.12.x. \r\n\r\nLead: @lrytz\r\n\r\nIn order to meet our deadline, we will only accept new PRs that fix an issue scheduled for M5 over at https://github.com/scala/scala-dev/milestones/2.12.0-M5 (no longer accepting new issues as of May 2). \r\n\r\nNOTE: We always accept more tests/docs -- this restriction aims to avoid PRs that change functionality or may otherwise cause regressions and release date slips.\r\n\r\nLukas informed scala-internals about this on April 22nd. For urgent/critical issues, exceptions will be considered after discussion on scala-internals.\r\n\r\nThe deadline currently stands at June 3rd (originally it was one week earlier). We're working hard to beat this date, and will cut the release as soon as we've made our way through the PR queue.","creator":{"login":"adriaanm","id":91083,"avatar_url":"https://avatars.githubusercontent.com/u/91083?v=3","gravatar_id":"","url":"https://api.github.com/users/adriaanm","html_url":"https://github.com/adriaanm","followers_url":"https://api.github.com/users/adriaanm/followers","following_url":"https://api.github.com/users/adriaanm/following{/other_user}","gists_url":"https://api.github.com/users/adriaanm/gists{/gist_id}","starred_url":"https://api.github.com/users/adriaanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriaanm/subscriptions","organizations_url":"https://api.github.com/users/adriaanm/orgs","repos_url":"https://api.github.com/users/adriaanm/repos","events_url":"https://api.github.com/users/adriaanm/events{/privacy}","received_events_url":"https://api.github.com/users/adriaanm/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":70,"state":"open","created_at":"2015-10-14T13:06:29Z","updated_at":"2016-05-20T15:29:47Z","due_on":"2016-06-03T07:00:00Z","closed_at":null},"comments":11,"created_at":"2016-01-31T06:08:59Z","updated_at":"2016-05-20T23:48:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/4935","html_url":"https://github.com/scala/scala/pull/4935","diff_url":"https://github.com/scala/scala/pull/4935.diff","patch_url":"https://github.com/scala/scala/pull/4935.patch"},"body":"Previously, a varid could not be backquoted, so that it was not\r\npossible to introduce variables with names such as `type` in a\r\nmatch expression.\r\n\r\nThis commit allows backquoted varids in `case x @ _` and\r\n`case x: Int`. In neither position is a stable id accepted,\r\nthat is, an id with leading uppercase.\r\n\r\nTherefore, this commit merely relaxes the backquoted varid to\r\nbe taken as a normal varid in these contexts."},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/220743614","html_url":"https://github.com/scala/scala/pull/4935#issuecomment-220743614","issue_url":"https://api.github.com/repos/scala/scala/issues/4935","id":220743614,"user":{"login":"som-snytt","id":369425,"avatar_url":"https://avatars.githubusercontent.com/u/369425?v=3","gravatar_id":"","url":"https://api.github.com/users/som-snytt","html_url":"https://github.com/som-snytt","followers_url":"https://api.github.com/users/som-snytt/followers","following_url":"https://api.github.com/users/som-snytt/following{/other_user}","gists_url":"https://api.github.com/users/som-snytt/gists{/gist_id}","starred_url":"https://api.github.com/users/som-snytt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/som-snytt/subscriptions","organizations_url":"https://api.github.com/users/som-snytt/orgs","repos_url":"https://api.github.com/users/som-snytt/repos","events_url":"https://api.github.com/users/som-snytt/events{/privacy}","received_events_url":"https://api.github.com/users/som-snytt/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T23:48:45Z","updated_at":"2016-05-20T23:48:45Z","body":"Rebased and added test for\r\n```\r\ncase List(1, `Rest of them` @ _*) => `Rest of them`\r\n```\r\nThat is actually the most common use case for `@` syntax in match, as it doesn't have an alternate syntax.\r\n\r\nI hope @adriaanm is not on vacation. I guess he accrues both US and Euro vacadays."}}
{"actor":{"display_login":"som-snytt"}}