{"action":"created","comment":{"url":"https://api.github.com/repos/lampepfl/dotty/pulls/comments/56640773","id":56640773,"diff_hunk":"@@ -1282,6 +1287,12 @@ object Parsers {\n \n     /* -------- PATTERNS ------------------------------------------- */\n \n+    def scala2WildcardStarMessage1  =","path":"src/dotty/tools/dotc/parsing/Parsers.scala","position":31,"original_position":31,"commit_id":"02898369afb57473c5652c246995372f4a2d0a0f","original_commit_id":"02898369afb57473c5652c246995372f4a2d0a0f","user":{"login":"odersky","id":795990,"avatar_url":"https://avatars.githubusercontent.com/u/795990?v=3","gravatar_id":"","url":"https://api.github.com/users/odersky","html_url":"https://github.com/odersky","followers_url":"https://api.github.com/users/odersky/followers","following_url":"https://api.github.com/users/odersky/following{/other_user}","gists_url":"https://api.github.com/users/odersky/gists{/gist_id}","starred_url":"https://api.github.com/users/odersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odersky/subscriptions","organizations_url":"https://api.github.com/users/odersky/orgs","repos_url":"https://api.github.com/users/odersky/repos","events_url":"https://api.github.com/users/odersky/events{/privacy}","received_events_url":"https://api.github.com/users/odersky/received_events","type":"User","site_admin":false},"body":"I'd refactor a little bit differently.\r\n\r\n1. Introduce a method \r\n\r\n        def migrationWarningOrError(msg: String, pos: Int) = ...\r\n\r\n2. Drop the message defs here\r\n","created_at":"2016-03-18T11:02:18Z","updated_at":"2016-03-18T11:02:18Z","html_url":"https://github.com/lampepfl/dotty/pull/1179#discussion_r56640773","pull_request_url":"https://api.github.com/repos/lampepfl/dotty/pulls/1179","_links":{"self":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/comments/56640773"},"html":{"href":"https://github.com/lampepfl/dotty/pull/1179#discussion_r56640773"},"pull_request":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/1179"}}},"pull_request":{"url":"https://api.github.com/repos/lampepfl/dotty/pulls/1179","id":62946561,"html_url":"https://github.com/lampepfl/dotty/pull/1179","diff_url":"https://github.com/lampepfl/dotty/pull/1179.diff","patch_url":"https://github.com/lampepfl/dotty/pull/1179.patch","issue_url":"https://api.github.com/repos/lampepfl/dotty/issues/1179","number":1179,"state":"open","locked":false,"title":"support `xs @ _*` and `_*` in Scala2 mode","user":{"login":"liufengyun","id":754633,"avatar_url":"https://avatars.githubusercontent.com/u/754633?v=3","gravatar_id":"","url":"https://api.github.com/users/liufengyun","html_url":"https://github.com/liufengyun","followers_url":"https://api.github.com/users/liufengyun/followers","following_url":"https://api.github.com/users/liufengyun/following{/other_user}","gists_url":"https://api.github.com/users/liufengyun/gists{/gist_id}","starred_url":"https://api.github.com/users/liufengyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liufengyun/subscriptions","organizations_url":"https://api.github.com/users/liufengyun/orgs","repos_url":"https://api.github.com/users/liufengyun/repos","events_url":"https://api.github.com/users/liufengyun/events{/privacy}","received_events_url":"https://api.github.com/users/liufengyun/received_events","type":"User","site_admin":false},"body":"Fix #1059 \r\n\r\nThe standard syntax in Dotty now is `xs : _*`. In Scala2 mode,\r\nfollowing code should be valid:\r\n\r\n    list match {\r\n      case List(_, _, _, _ @ _*)     =>   0\r\n      case List(_, _, _*)            =>   1\r\n      case List(_, _: _*)            =>   2\r\n      case Nil                       =>   3\r\n    }","created_at":"2016-03-15T17:36:21Z","updated_at":"2016-03-18T11:02:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bd423b3001deb975bc3ae5d8f50bb31b19893f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lampepfl/dotty/pulls/1179/commits","review_comments_url":"https://api.github.com/repos/lampepfl/dotty/pulls/1179/comments","review_comment_url":"https://api.github.com/repos/lampepfl/dotty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/1179/comments","statuses_url":"https://api.github.com/repos/lampepfl/dotty/statuses/02898369afb57473c5652c246995372f4a2d0a0f","head":{"label":"liufengyun:fix-issue-1059","ref":"fix-issue-1059","sha":"02898369afb57473c5652c246995372f4a2d0a0f","user":{"login":"liufengyun","id":754633,"avatar_url":"https://avatars.githubusercontent.com/u/754633?v=3","gravatar_id":"","url":"https://api.github.com/users/liufengyun","html_url":"https://github.com/liufengyun","followers_url":"https://api.github.com/users/liufengyun/followers","following_url":"https://api.github.com/users/liufengyun/following{/other_user}","gists_url":"https://api.github.com/users/liufengyun/gists{/gist_id}","starred_url":"https://api.github.com/users/liufengyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liufengyun/subscriptions","organizations_url":"https://api.github.com/users/liufengyun/orgs","repos_url":"https://api.github.com/users/liufengyun/repos","events_url":"https://api.github.com/users/liufengyun/events{/privacy}","received_events_url":"https://api.github.com/users/liufengyun/received_events","type":"User","site_admin":false},"repo":{"id":53841139,"name":"dotty","full_name":"liufengyun/dotty","owner":{"login":"liufengyun","id":754633,"avatar_url":"https://avatars.githubusercontent.com/u/754633?v=3","gravatar_id":"","url":"https://api.github.com/users/liufengyun","html_url":"https://github.com/liufengyun","followers_url":"https://api.github.com/users/liufengyun/followers","following_url":"https://api.github.com/users/liufengyun/following{/other_user}","gists_url":"https://api.github.com/users/liufengyun/gists{/gist_id}","starred_url":"https://api.github.com/users/liufengyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liufengyun/subscriptions","organizations_url":"https://api.github.com/users/liufengyun/orgs","repos_url":"https://api.github.com/users/liufengyun/repos","events_url":"https://api.github.com/users/liufengyun/events{/privacy}","received_events_url":"https://api.github.com/users/liufengyun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liufengyun/dotty","description":"Research platform for new language concepts and compiler technologies for Scala.","fork":true,"url":"https://api.github.com/repos/liufengyun/dotty","forks_url":"https://api.github.com/repos/liufengyun/dotty/forks","keys_url":"https://api.github.com/repos/liufengyun/dotty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liufengyun/dotty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liufengyun/dotty/teams","hooks_url":"https://api.github.com/repos/liufengyun/dotty/hooks","issue_events_url":"https://api.github.com/repos/liufengyun/dotty/issues/events{/number}","events_url":"https://api.github.com/repos/liufengyun/dotty/events","assignees_url":"https://api.github.com/repos/liufengyun/dotty/assignees{/user}","branches_url":"https://api.github.com/repos/liufengyun/dotty/branches{/branch}","tags_url":"https://api.github.com/repos/liufengyun/dotty/tags","blobs_url":"https://api.github.com/repos/liufengyun/dotty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liufengyun/dotty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liufengyun/dotty/git/refs{/sha}","trees_url":"https://api.github.com/repos/liufengyun/dotty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liufengyun/dotty/statuses/{sha}","languages_url":"https://api.github.com/repos/liufengyun/dotty/languages","stargazers_url":"https://api.github.com/repos/liufengyun/dotty/stargazers","contributors_url":"https://api.github.com/repos/liufengyun/dotty/contributors","subscribers_url":"https://api.github.com/repos/liufengyun/dotty/subscribers","subscription_url":"https://api.github.com/repos/liufengyun/dotty/subscription","commits_url":"https://api.github.com/repos/liufengyun/dotty/commits{/sha}","git_commits_url":"https://api.github.com/repos/liufengyun/dotty/git/commits{/sha}","comments_url":"https://api.github.com/repos/liufengyun/dotty/comments{/number}","issue_comment_url":"https://api.github.com/repos/liufengyun/dotty/issues/comments{/number}","contents_url":"https://api.github.com/repos/liufengyun/dotty/contents/{+path}","compare_url":"https://api.github.com/repos/liufengyun/dotty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liufengyun/dotty/merges","archive_url":"https://api.github.com/repos/liufengyun/dotty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liufengyun/dotty/downloads","issues_url":"https://api.github.com/repos/liufengyun/dotty/issues{/number}","pulls_url":"https://api.github.com/repos/liufengyun/dotty/pulls{/number}","milestones_url":"https://api.github.com/repos/liufengyun/dotty/milestones{/number}","notifications_url":"https://api.github.com/repos/liufengyun/dotty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liufengyun/dotty/labels{/name}","releases_url":"https://api.github.com/repos/liufengyun/dotty/releases{/id}","deployments_url":"https://api.github.com/repos/liufengyun/dotty/deployments","created_at":"2016-03-14T08:59:27Z","updated_at":"2016-03-14T08:59:33Z","pushed_at":"2016-03-15T17:35:01Z","git_url":"git://github.com/liufengyun/dotty.git","ssh_url":"git@github.com:liufengyun/dotty.git","clone_url":"https://github.com/liufengyun/dotty.git","svn_url":"https://github.com/liufengyun/dotty","homepage":"","size":16097,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lampepfl:master","ref":"master","sha":"16f0bea7e4169ab89eddf2e7bae1de08ded3c84b","user":{"login":"lampepfl","id":2684793,"avatar_url":"https://avatars.githubusercontent.com/u/2684793?v=3","gravatar_id":"","url":"https://api.github.com/users/lampepfl","html_url":"https://github.com/lampepfl","followers_url":"https://api.github.com/users/lampepfl/followers","following_url":"https://api.github.com/users/lampepfl/following{/other_user}","gists_url":"https://api.github.com/users/lampepfl/gists{/gist_id}","starred_url":"https://api.github.com/users/lampepfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampepfl/subscriptions","organizations_url":"https://api.github.com/users/lampepfl/orgs","repos_url":"https://api.github.com/users/lampepfl/repos","events_url":"https://api.github.com/users/lampepfl/events{/privacy}","received_events_url":"https://api.github.com/users/lampepfl/received_events","type":"Organization","site_admin":false},"repo":{"id":7035651,"name":"dotty","full_name":"lampepfl/dotty","owner":{"login":"lampepfl","id":2684793,"avatar_url":"https://avatars.githubusercontent.com/u/2684793?v=3","gravatar_id":"","url":"https://api.github.com/users/lampepfl","html_url":"https://github.com/lampepfl","followers_url":"https://api.github.com/users/lampepfl/followers","following_url":"https://api.github.com/users/lampepfl/following{/other_user}","gists_url":"https://api.github.com/users/lampepfl/gists{/gist_id}","starred_url":"https://api.github.com/users/lampepfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampepfl/subscriptions","organizations_url":"https://api.github.com/users/lampepfl/orgs","repos_url":"https://api.github.com/users/lampepfl/repos","events_url":"https://api.github.com/users/lampepfl/events{/privacy}","received_events_url":"https://api.github.com/users/lampepfl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lampepfl/dotty","description":"Research platform for new language concepts and compiler technologies for Scala.","fork":false,"url":"https://api.github.com/repos/lampepfl/dotty","forks_url":"https://api.github.com/repos/lampepfl/dotty/forks","keys_url":"https://api.github.com/repos/lampepfl/dotty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lampepfl/dotty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lampepfl/dotty/teams","hooks_url":"https://api.github.com/repos/lampepfl/dotty/hooks","issue_events_url":"https://api.github.com/repos/lampepfl/dotty/issues/events{/number}","events_url":"https://api.github.com/repos/lampepfl/dotty/events","assignees_url":"https://api.github.com/repos/lampepfl/dotty/assignees{/user}","branches_url":"https://api.github.com/repos/lampepfl/dotty/branches{/branch}","tags_url":"https://api.github.com/repos/lampepfl/dotty/tags","blobs_url":"https://api.github.com/repos/lampepfl/dotty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lampepfl/dotty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lampepfl/dotty/git/refs{/sha}","trees_url":"https://api.github.com/repos/lampepfl/dotty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lampepfl/dotty/statuses/{sha}","languages_url":"https://api.github.com/repos/lampepfl/dotty/languages","stargazers_url":"https://api.github.com/repos/lampepfl/dotty/stargazers","contributors_url":"https://api.github.com/repos/lampepfl/dotty/contributors","subscribers_url":"https://api.github.com/repos/lampepfl/dotty/subscribers","subscription_url":"https://api.github.com/repos/lampepfl/dotty/subscription","commits_url":"https://api.github.com/repos/lampepfl/dotty/commits{/sha}","git_commits_url":"https://api.github.com/repos/lampepfl/dotty/git/commits{/sha}","comments_url":"https://api.github.com/repos/lampepfl/dotty/comments{/number}","issue_comment_url":"https://api.github.com/repos/lampepfl/dotty/issues/comments{/number}","contents_url":"https://api.github.com/repos/lampepfl/dotty/contents/{+path}","compare_url":"https://api.github.com/repos/lampepfl/dotty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lampepfl/dotty/merges","archive_url":"https://api.github.com/repos/lampepfl/dotty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lampepfl/dotty/downloads","issues_url":"https://api.github.com/repos/lampepfl/dotty/issues{/number}","pulls_url":"https://api.github.com/repos/lampepfl/dotty/pulls{/number}","milestones_url":"https://api.github.com/repos/lampepfl/dotty/milestones{/number}","notifications_url":"https://api.github.com/repos/lampepfl/dotty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lampepfl/dotty/labels{/name}","releases_url":"https://api.github.com/repos/lampepfl/dotty/releases{/id}","deployments_url":"https://api.github.com/repos/lampepfl/dotty/deployments","created_at":"2012-12-06T12:57:33Z","updated_at":"2016-03-18T07:34:54Z","pushed_at":"2016-03-18T10:56:56Z","git_url":"git://github.com/lampepfl/dotty.git","ssh_url":"git@github.com:lampepfl/dotty.git","clone_url":"https://github.com/lampepfl/dotty.git","svn_url":"https://github.com/lampepfl/dotty","homepage":"","size":23534,"stargazers_count":819,"watchers_count":819,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":134,"forks":113,"open_issues":134,"watchers":819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/1179"},"html":{"href":"https://github.com/lampepfl/dotty/pull/1179"},"issue":{"href":"https://api.github.com/repos/lampepfl/dotty/issues/1179"},"comments":{"href":"https://api.github.com/repos/lampepfl/dotty/issues/1179/comments"},"review_comments":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/1179/comments"},"review_comment":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lampepfl/dotty/pulls/1179/commits"},"statuses":{"href":"https://api.github.com/repos/lampepfl/dotty/statuses/02898369afb57473c5652c246995372f4a2d0a0f"}}}}