{"action":"closed","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/2010","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/2010/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/2010/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/2010/events","html_url":"https://github.com/scala-js/scala-js/issues/2010","id":116518364,"number":2010,"title":"Object.clone() is broken in fullOpt","user":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scala-js/scala-js/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/scala-js/scala-js/milestones/33","html_url":"https://github.com/scala-js/scala-js/milestones/v0.6.6","labels_url":"https://api.github.com/repos/scala-js/scala-js/milestones/33/labels","id":1267927,"number":33,"title":"v0.6.6","description":"","creator":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":34,"state":"open","created_at":"2015-08-23T10:50:50Z","updated_at":"2015-11-12T19:32:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-12T10:12:49Z","updated_at":"2015-11-12T19:32:23Z","closed_at":"2015-11-12T19:32:23Z","body":"In some codebases (not the test suite), `Object.clone()` is broken in fullOpt. The returned object does not have the appropriate `prototype`, and hence its `getClass` is broken, and method calls can be broken too.\r\n\r\nApparently, under some circumstances, Closure does not preserve the assignment of the `constructor` field on the `prototype`."}}