{"action":"opened","number":290,"pull_request":{"url":"https://api.github.com/repos/ocaml/ocaml/pulls/290","id":50643582,"html_url":"https://github.com/ocaml/ocaml/pull/290","diff_url":"https://github.com/ocaml/ocaml/pull/290.diff","patch_url":"https://github.com/ocaml/ocaml/pull/290.patch","issue_url":"https://api.github.com/repos/ocaml/ocaml/issues/290","number":290,"state":"open","locked":false,"title":"Fix PR7040: report duplicate methods in a class, also for virtual methods","user":{"login":"alainfrisch","id":3305274,"avatar_url":"https://avatars.githubusercontent.com/u/3305274?v=3","gravatar_id":"","url":"https://api.github.com/users/alainfrisch","html_url":"https://github.com/alainfrisch","followers_url":"https://api.github.com/users/alainfrisch/followers","following_url":"https://api.github.com/users/alainfrisch/following{/other_user}","gists_url":"https://api.github.com/users/alainfrisch/gists{/gist_id}","starred_url":"https://api.github.com/users/alainfrisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainfrisch/subscriptions","organizations_url":"https://api.github.com/users/alainfrisch/orgs","repos_url":"https://api.github.com/users/alainfrisch/repos","events_url":"https://api.github.com/users/alainfrisch/events{/privacy}","received_events_url":"https://api.github.com/users/alainfrisch/received_events","type":"User","site_admin":false},"body":"See http://caml.inria.fr/mantis/view.php?id=7040\r\n\r\nThere is already an error that reports duplicated methods in a class:\r\n\r\n````ocaml\r\n# class c = object method x = 1 method x = 2 end;;\r\nCharacters 30-42:\r\n  class c = object method x = 1 method x = 2 end;;\r\n                                ^^^^^^^^^^^^\r\nError: The method `x' has multiple definitions in this object\r\n````\r\n\r\nThis PR triggers the same error in case of duplication between two virtual methods or one virtual and one non-virtual method.","created_at":"2015-11-13T13:59:56Z","updated_at":"2015-11-13T13:59:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ocaml/ocaml/pulls/290/commits","review_comments_url":"https://api.github.com/repos/ocaml/ocaml/pulls/290/comments","review_comment_url":"https://api.github.com/repos/ocaml/ocaml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocaml/ocaml/issues/290/comments","statuses_url":"https://api.github.com/repos/ocaml/ocaml/statuses/f8b41cc67e2827b53d795767e8df188ef2f59cf3","head":{"label":"alainfrisch:fix_7040","ref":"fix_7040","sha":"f8b41cc67e2827b53d795767e8df188ef2f59cf3","user":{"login":"alainfrisch","id":3305274,"avatar_url":"https://avatars.githubusercontent.com/u/3305274?v=3","gravatar_id":"","url":"https://api.github.com/users/alainfrisch","html_url":"https://github.com/alainfrisch","followers_url":"https://api.github.com/users/alainfrisch/followers","following_url":"https://api.github.com/users/alainfrisch/following{/other_user}","gists_url":"https://api.github.com/users/alainfrisch/gists{/gist_id}","starred_url":"https://api.github.com/users/alainfrisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainfrisch/subscriptions","organizations_url":"https://api.github.com/users/alainfrisch/orgs","repos_url":"https://api.github.com/users/alainfrisch/repos","events_url":"https://api.github.com/users/alainfrisch/events{/privacy}","received_events_url":"https://api.github.com/users/alainfrisch/received_events","type":"User","site_admin":false},"repo":{"id":35487192,"name":"ocaml","full_name":"alainfrisch/ocaml","owner":{"login":"alainfrisch","id":3305274,"avatar_url":"https://avatars.githubusercontent.com/u/3305274?v=3","gravatar_id":"","url":"https://api.github.com/users/alainfrisch","html_url":"https://github.com/alainfrisch","followers_url":"https://api.github.com/users/alainfrisch/followers","following_url":"https://api.github.com/users/alainfrisch/following{/other_user}","gists_url":"https://api.github.com/users/alainfrisch/gists{/gist_id}","starred_url":"https://api.github.com/users/alainfrisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainfrisch/subscriptions","organizations_url":"https://api.github.com/users/alainfrisch/orgs","repos_url":"https://api.github.com/users/alainfrisch/repos","events_url":"https://api.github.com/users/alainfrisch/events{/privacy}","received_events_url":"https://api.github.com/users/alainfrisch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alainfrisch/ocaml","description":"Read-only mirror of INRIA SVN","fork":true,"url":"https://api.github.com/repos/alainfrisch/ocaml","forks_url":"https://api.github.com/repos/alainfrisch/ocaml/forks","keys_url":"https://api.github.com/repos/alainfrisch/ocaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alainfrisch/ocaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alainfrisch/ocaml/teams","hooks_url":"https://api.github.com/repos/alainfrisch/ocaml/hooks","issue_events_url":"https://api.github.com/repos/alainfrisch/ocaml/issues/events{/number}","events_url":"https://api.github.com/repos/alainfrisch/ocaml/events","assignees_url":"https://api.github.com/repos/alainfrisch/ocaml/assignees{/user}","branches_url":"https://api.github.com/repos/alainfrisch/ocaml/branches{/branch}","tags_url":"https://api.github.com/repos/alainfrisch/ocaml/tags","blobs_url":"https://api.github.com/repos/alainfrisch/ocaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alainfrisch/ocaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alainfrisch/ocaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/alainfrisch/ocaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alainfrisch/ocaml/statuses/{sha}","languages_url":"https://api.github.com/repos/alainfrisch/ocaml/languages","stargazers_url":"https://api.github.com/repos/alainfrisch/ocaml/stargazers","contributors_url":"https://api.github.com/repos/alainfrisch/ocaml/contributors","subscribers_url":"https://api.github.com/repos/alainfrisch/ocaml/subscribers","subscription_url":"https://api.github.com/repos/alainfrisch/ocaml/subscription","commits_url":"https://api.github.com/repos/alainfrisch/ocaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/alainfrisch/ocaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/alainfrisch/ocaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/alainfrisch/ocaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/alainfrisch/ocaml/contents/{+path}","compare_url":"https://api.github.com/repos/alainfrisch/ocaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alainfrisch/ocaml/merges","archive_url":"https://api.github.com/repos/alainfrisch/ocaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alainfrisch/ocaml/downloads","issues_url":"https://api.github.com/repos/alainfrisch/ocaml/issues{/number}","pulls_url":"https://api.github.com/repos/alainfrisch/ocaml/pulls{/number}","milestones_url":"https://api.github.com/repos/alainfrisch/ocaml/milestones{/number}","notifications_url":"https://api.github.com/repos/alainfrisch/ocaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alainfrisch/ocaml/labels{/name}","releases_url":"https://api.github.com/repos/alainfrisch/ocaml/releases{/id}","created_at":"2015-05-12T12:43:06Z","updated_at":"2015-05-12T12:43:13Z","pushed_at":"2015-11-13T13:58:09Z","git_url":"git://github.com/alainfrisch/ocaml.git","ssh_url":"git@github.com:alainfrisch/ocaml.git","clone_url":"https://github.com/alainfrisch/ocaml.git","svn_url":"https://github.com/alainfrisch/ocaml","homepage":null,"size":116034,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"ocaml:trunk","ref":"trunk","sha":"dc2a98c3a5753ac45bd9de0f994fa07f0ddc13dc","user":{"login":"ocaml","id":1841483,"avatar_url":"https://avatars.githubusercontent.com/u/1841483?v=3","gravatar_id":"","url":"https://api.github.com/users/ocaml","html_url":"https://github.com/ocaml","followers_url":"https://api.github.com/users/ocaml/followers","following_url":"https://api.github.com/users/ocaml/following{/other_user}","gists_url":"https://api.github.com/users/ocaml/gists{/gist_id}","starred_url":"https://api.github.com/users/ocaml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocaml/subscriptions","organizations_url":"https://api.github.com/users/ocaml/orgs","repos_url":"https://api.github.com/users/ocaml/repos","events_url":"https://api.github.com/users/ocaml/events{/privacy}","received_events_url":"https://api.github.com/users/ocaml/received_events","type":"Organization","site_admin":false},"repo":{"id":6786166,"name":"ocaml","full_name":"ocaml/ocaml","owner":{"login":"ocaml","id":1841483,"avatar_url":"https://avatars.githubusercontent.com/u/1841483?v=3","gravatar_id":"","url":"https://api.github.com/users/ocaml","html_url":"https://github.com/ocaml","followers_url":"https://api.github.com/users/ocaml/followers","following_url":"https://api.github.com/users/ocaml/following{/other_user}","gists_url":"https://api.github.com/users/ocaml/gists{/gist_id}","starred_url":"https://api.github.com/users/ocaml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocaml/subscriptions","organizations_url":"https://api.github.com/users/ocaml/orgs","repos_url":"https://api.github.com/users/ocaml/repos","events_url":"https://api.github.com/users/ocaml/events{/privacy}","received_events_url":"https://api.github.com/users/ocaml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocaml/ocaml","description":"The core OCaml system: compilers, runtime system, base libraries","fork":false,"url":"https://api.github.com/repos/ocaml/ocaml","forks_url":"https://api.github.com/repos/ocaml/ocaml/forks","keys_url":"https://api.github.com/repos/ocaml/ocaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocaml/ocaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocaml/ocaml/teams","hooks_url":"https://api.github.com/repos/ocaml/ocaml/hooks","issue_events_url":"https://api.github.com/repos/ocaml/ocaml/issues/events{/number}","events_url":"https://api.github.com/repos/ocaml/ocaml/events","assignees_url":"https://api.github.com/repos/ocaml/ocaml/assignees{/user}","branches_url":"https://api.github.com/repos/ocaml/ocaml/branches{/branch}","tags_url":"https://api.github.com/repos/ocaml/ocaml/tags","blobs_url":"https://api.github.com/repos/ocaml/ocaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocaml/ocaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocaml/ocaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocaml/ocaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocaml/ocaml/statuses/{sha}","languages_url":"https://api.github.com/repos/ocaml/ocaml/languages","stargazers_url":"https://api.github.com/repos/ocaml/ocaml/stargazers","contributors_url":"https://api.github.com/repos/ocaml/ocaml/contributors","subscribers_url":"https://api.github.com/repos/ocaml/ocaml/subscribers","subscription_url":"https://api.github.com/repos/ocaml/ocaml/subscription","commits_url":"https://api.github.com/repos/ocaml/ocaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocaml/ocaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocaml/ocaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocaml/ocaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocaml/ocaml/contents/{+path}","compare_url":"https://api.github.com/repos/ocaml/ocaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocaml/ocaml/merges","archive_url":"https://api.github.com/repos/ocaml/ocaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocaml/ocaml/downloads","issues_url":"https://api.github.com/repos/ocaml/ocaml/issues{/number}","pulls_url":"https://api.github.com/repos/ocaml/ocaml/pulls{/number}","milestones_url":"https://api.github.com/repos/ocaml/ocaml/milestones{/number}","notifications_url":"https://api.github.com/repos/ocaml/ocaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocaml/ocaml/labels{/name}","releases_url":"https://api.github.com/repos/ocaml/ocaml/releases{/id}","created_at":"2012-11-20T22:18:22Z","updated_at":"2015-11-13T01:39:11Z","pushed_at":"2015-11-13T13:58:17Z","git_url":"git://github.com/ocaml/ocaml.git","ssh_url":"git@github.com:ocaml/ocaml.git","clone_url":"https://github.com/ocaml/ocaml.git","svn_url":"https://github.com/ocaml/ocaml","homepage":"","size":172998,"stargazers_count":534,"watchers_count":534,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":187,"mirror_url":null,"open_issues_count":78,"forks":187,"open_issues":78,"watchers":534,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/ocaml/ocaml/pulls/290"},"html":{"href":"https://github.com/ocaml/ocaml/pull/290"},"issue":{"href":"https://api.github.com/repos/ocaml/ocaml/issues/290"},"comments":{"href":"https://api.github.com/repos/ocaml/ocaml/issues/290/comments"},"review_comments":{"href":"https://api.github.com/repos/ocaml/ocaml/pulls/290/comments"},"review_comment":{"href":"https://api.github.com/repos/ocaml/ocaml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocaml/ocaml/pulls/290/commits"},"statuses":{"href":"https://api.github.com/repos/ocaml/ocaml/statuses/f8b41cc67e2827b53d795767e8df188ef2f59cf3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}