{"action":"created","comment":{"url":"https://api.github.com/repos/scala/scala/pulls/comments/202584516","pull_request_review_id":137311866,"id":202584516,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU4NDUxNg==","diff_hunk":"@@ -221,7 +221,7 @@ final class ArrayOps[A](val xs: Array[A]) extends AnyVal {\n     *        x >  0       if this.length >  len\n     *   }}}\n     */\n-  def lengthCompare(len: Int): Int = xs.length - len","path":"src/library/scala/collection/ArrayOps.scala","position":4,"original_position":4,"commit_id":"604f8d41c972656529969376a1c35bb9025c2053","original_commit_id":"604f8d41c972656529969376a1c35bb9025c2053","user":{"login":"NthPortal","id":7505383,"node_id":"MDQ6VXNlcjc1MDUzODM=","avatar_url":"https://avatars0.githubusercontent.com/u/7505383?v=4","gravatar_id":"","url":"https://api.github.com/users/NthPortal","html_url":"https://github.com/NthPortal","followers_url":"https://api.github.com/users/NthPortal/followers","following_url":"https://api.github.com/users/NthPortal/following{/other_user}","gists_url":"https://api.github.com/users/NthPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/NthPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NthPortal/subscriptions","organizations_url":"https://api.github.com/users/NthPortal/orgs","repos_url":"https://api.github.com/users/NthPortal/repos","events_url":"https://api.github.com/users/NthPortal/events{/privacy}","received_events_url":"https://api.github.com/users/NthPortal/received_events","type":"User","site_admin":false},"body":"it passes in `Int.MinValue` as the value of `len`, which is perfectly possible. See [this comment](https://github.com/scala/scala/pull/6930#discussion_r202345125).","created_at":"2018-07-16T06:48:29Z","updated_at":"2018-07-16T06:48:29Z","html_url":"https://github.com/scala/scala/pull/6930#discussion_r202584516","pull_request_url":"https://api.github.com/repos/scala/scala/pulls/6930","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/scala/scala/pulls/comments/202584516"},"html":{"href":"https://github.com/scala/scala/pull/6930#discussion_r202584516"},"pull_request":{"href":"https://api.github.com/repos/scala/scala/pulls/6930"}},"in_reply_to_id":202571364},"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/6930","id":201137909,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTM3OTA5","html_url":"https://github.com/scala/scala/pull/6930","diff_url":"https://github.com/scala/scala/pull/6930.diff","patch_url":"https://github.com/scala/scala/pull/6930.patch","issue_url":"https://api.github.com/repos/scala/scala/issues/6930","number":6930,"state":"open","locked":false,"title":"Fix lengthCompare for indexed types","user":{"login":"NthPortal","id":7505383,"node_id":"MDQ6VXNlcjc1MDUzODM=","avatar_url":"https://avatars0.githubusercontent.com/u/7505383?v=4","gravatar_id":"","url":"https://api.github.com/users/NthPortal","html_url":"https://github.com/NthPortal","followers_url":"https://api.github.com/users/NthPortal/followers","following_url":"https://api.github.com/users/NthPortal/following{/other_user}","gists_url":"https://api.github.com/users/NthPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/NthPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NthPortal/subscriptions","organizations_url":"https://api.github.com/users/NthPortal/orgs","repos_url":"https://api.github.com/users/NthPortal/repos","events_url":"https://api.github.com/users/NthPortal/events{/privacy}","received_events_url":"https://api.github.com/users/NthPortal/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-12T22:01:34Z","updated_at":"2018-07-16T06:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"083249ddcec33120b4517ace604113ab8e8fa101","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/74","html_url":"https://github.com/scala/scala/milestone/74","labels_url":"https://api.github.com/repos/scala/scala/milestones/74/labels","id":3295287,"node_id":"MDk6TWlsZXN0b25lMzI5NTI4Nw==","number":74,"title":"2.13.0-M5","description":"Merge to 2.13.x. Last milestone (feature-frozen; aka RC0).\r\nRelease lead: @SethTisue","creator":{"login":"lrytz","id":119636,"node_id":"MDQ6VXNlcjExOTYzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/119636?v=4","gravatar_id":"","url":"https://api.github.com/users/lrytz","html_url":"https://github.com/lrytz","followers_url":"https://api.github.com/users/lrytz/followers","following_url":"https://api.github.com/users/lrytz/following{/other_user}","gists_url":"https://api.github.com/users/lrytz/gists{/gist_id}","starred_url":"https://api.github.com/users/lrytz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrytz/subscriptions","organizations_url":"https://api.github.com/users/lrytz/orgs","repos_url":"https://api.github.com/users/lrytz/repos","events_url":"https://api.github.com/users/lrytz/events{/privacy}","received_events_url":"https://api.github.com/users/lrytz/received_events","type":"User","site_admin":false},"open_issues":87,"closed_issues":255,"state":"open","created_at":"2018-04-25T07:15:17Z","updated_at":"2018-07-16T01:03:40Z","due_on":"2018-08-10T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/scala/scala/pulls/6930/commits","review_comments_url":"https://api.github.com/repos/scala/scala/pulls/6930/comments","review_comment_url":"https://api.github.com/repos/scala/scala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala/scala/issues/6930/comments","statuses_url":"https://api.github.com/repos/scala/scala/statuses/604f8d41c972656529969376a1c35bb9025c2053","head":{"label":"NthPortal:topic/lengthCompare-fix/PR","ref":"topic/lengthCompare-fix/PR","sha":"604f8d41c972656529969376a1c35bb9025c2053","user":{"login":"NthPortal","id":7505383,"node_id":"MDQ6VXNlcjc1MDUzODM=","avatar_url":"https://avatars0.githubusercontent.com/u/7505383?v=4","gravatar_id":"","url":"https://api.github.com/users/NthPortal","html_url":"https://github.com/NthPortal","followers_url":"https://api.github.com/users/NthPortal/followers","following_url":"https://api.github.com/users/NthPortal/following{/other_user}","gists_url":"https://api.github.com/users/NthPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/NthPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NthPortal/subscriptions","organizations_url":"https://api.github.com/users/NthPortal/orgs","repos_url":"https://api.github.com/users/NthPortal/repos","events_url":"https://api.github.com/users/NthPortal/events{/privacy}","received_events_url":"https://api.github.com/users/NthPortal/received_events","type":"User","site_admin":false},"repo":{"id":85460181,"node_id":"MDEwOlJlcG9zaXRvcnk4NTQ2MDE4MQ==","name":"scala","full_name":"NthPortal/scala","owner":{"login":"NthPortal","id":7505383,"node_id":"MDQ6VXNlcjc1MDUzODM=","avatar_url":"https://avatars0.githubusercontent.com/u/7505383?v=4","gravatar_id":"","url":"https://api.github.com/users/NthPortal","html_url":"https://github.com/NthPortal","followers_url":"https://api.github.com/users/NthPortal/followers","following_url":"https://api.github.com/users/NthPortal/following{/other_user}","gists_url":"https://api.github.com/users/NthPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/NthPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NthPortal/subscriptions","organizations_url":"https://api.github.com/users/NthPortal/orgs","repos_url":"https://api.github.com/users/NthPortal/repos","events_url":"https://api.github.com/users/NthPortal/events{/privacy}","received_events_url":"https://api.github.com/users/NthPortal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NthPortal/scala","description":"The Scala programming language","fork":true,"url":"https://api.github.com/repos/NthPortal/scala","forks_url":"https://api.github.com/repos/NthPortal/scala/forks","keys_url":"https://api.github.com/repos/NthPortal/scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NthPortal/scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NthPortal/scala/teams","hooks_url":"https://api.github.com/repos/NthPortal/scala/hooks","issue_events_url":"https://api.github.com/repos/NthPortal/scala/issues/events{/number}","events_url":"https://api.github.com/repos/NthPortal/scala/events","assignees_url":"https://api.github.com/repos/NthPortal/scala/assignees{/user}","branches_url":"https://api.github.com/repos/NthPortal/scala/branches{/branch}","tags_url":"https://api.github.com/repos/NthPortal/scala/tags","blobs_url":"https://api.github.com/repos/NthPortal/scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NthPortal/scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NthPortal/scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/NthPortal/scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NthPortal/scala/statuses/{sha}","languages_url":"https://api.github.com/repos/NthPortal/scala/languages","stargazers_url":"https://api.github.com/repos/NthPortal/scala/stargazers","contributors_url":"https://api.github.com/repos/NthPortal/scala/contributors","subscribers_url":"https://api.github.com/repos/NthPortal/scala/subscribers","subscription_url":"https://api.github.com/repos/NthPortal/scala/subscription","commits_url":"https://api.github.com/repos/NthPortal/scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/NthPortal/scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/NthPortal/scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/NthPortal/scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/NthPortal/scala/contents/{+path}","compare_url":"https://api.github.com/repos/NthPortal/scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NthPortal/scala/merges","archive_url":"https://api.github.com/repos/NthPortal/scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NthPortal/scala/downloads","issues_url":"https://api.github.com/repos/NthPortal/scala/issues{/number}","pulls_url":"https://api.github.com/repos/NthPortal/scala/pulls{/number}","milestones_url":"https://api.github.com/repos/NthPortal/scala/milestones{/number}","notifications_url":"https://api.github.com/repos/NthPortal/scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NthPortal/scala/labels{/name}","releases_url":"https://api.github.com/repos/NthPortal/scala/releases{/id}","deployments_url":"https://api.github.com/repos/NthPortal/scala/deployments","created_at":"2017-03-19T08:05:23Z","updated_at":"2018-07-12T21:04:18Z","pushed_at":"2018-07-14T22:05:02Z","git_url":"git://github.com/NthPortal/scala.git","ssh_url":"git@github.com:NthPortal/scala.git","clone_url":"https://github.com/NthPortal/scala.git","svn_url":"https://github.com/NthPortal/scala","homepage":"http://www.scala-lang.org/","size":99760,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.13.x"}},"base":{"label":"scala:2.13.x","ref":"2.13.x","sha":"2465fce45bcc719d156fcded097db91607da5944","user":{"login":"scala","id":57059,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MDU5","avatar_url":"https://avatars2.githubusercontent.com/u/57059?v=4","gravatar_id":"","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"repo":{"id":2888818,"node_id":"MDEwOlJlcG9zaXRvcnkyODg4ODE4","name":"scala","full_name":"scala/scala","owner":{"login":"scala","id":57059,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MDU5","avatar_url":"https://avatars2.githubusercontent.com/u/57059?v=4","gravatar_id":"","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala/scala","description":"The Scala programming language","fork":false,"url":"https://api.github.com/repos/scala/scala","forks_url":"https://api.github.com/repos/scala/scala/forks","keys_url":"https://api.github.com/repos/scala/scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala/scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala/scala/teams","hooks_url":"https://api.github.com/repos/scala/scala/hooks","issue_events_url":"https://api.github.com/repos/scala/scala/issues/events{/number}","events_url":"https://api.github.com/repos/scala/scala/events","assignees_url":"https://api.github.com/repos/scala/scala/assignees{/user}","branches_url":"https://api.github.com/repos/scala/scala/branches{/branch}","tags_url":"https://api.github.com/repos/scala/scala/tags","blobs_url":"https://api.github.com/repos/scala/scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala/scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala/scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala/scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala/scala/statuses/{sha}","languages_url":"https://api.github.com/repos/scala/scala/languages","stargazers_url":"https://api.github.com/repos/scala/scala/stargazers","contributors_url":"https://api.github.com/repos/scala/scala/contributors","subscribers_url":"https://api.github.com/repos/scala/scala/subscribers","subscription_url":"https://api.github.com/repos/scala/scala/subscription","commits_url":"https://api.github.com/repos/scala/scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala/scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala/scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala/scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala/scala/contents/{+path}","compare_url":"https://api.github.com/repos/scala/scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala/scala/merges","archive_url":"https://api.github.com/repos/scala/scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala/scala/downloads","issues_url":"https://api.github.com/repos/scala/scala/issues{/number}","pulls_url":"https://api.github.com/repos/scala/scala/pulls{/number}","milestones_url":"https://api.github.com/repos/scala/scala/milestones{/number}","notifications_url":"https://api.github.com/repos/scala/scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala/scala/labels{/name}","releases_url":"https://api.github.com/repos/scala/scala/releases{/id}","deployments_url":"https://api.github.com/repos/scala/scala/deployments","created_at":"2011-12-01T05:02:34Z","updated_at":"2018-07-16T00:44:26Z","pushed_at":"2018-07-16T03:43:04Z","git_url":"git://github.com/scala/scala.git","ssh_url":"git@github.com:scala/scala.git","clone_url":"https://github.com/scala/scala.git","svn_url":"https://github.com/scala/scala","homepage":"http://www.scala-lang.org/","size":99954,"stargazers_count":10429,"watchers_count":10429,"language":"Scala","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2472,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":2472,"open_issues":100,"watchers":10429,"default_branch":"2.13.x"}},"_links":{"self":{"href":"https://api.github.com/repos/scala/scala/pulls/6930"},"html":{"href":"https://github.com/scala/scala/pull/6930"},"issue":{"href":"https://api.github.com/repos/scala/scala/issues/6930"},"comments":{"href":"https://api.github.com/repos/scala/scala/issues/6930/comments"},"review_comments":{"href":"https://api.github.com/repos/scala/scala/pulls/6930/comments"},"review_comment":{"href":"https://api.github.com/repos/scala/scala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala/scala/pulls/6930/commits"},"statuses":{"href":"https://api.github.com/repos/scala/scala/statuses/604f8d41c972656529969376a1c35bb9025c2053"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"NthPortal"}}