{"action":"closed","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/1628","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/1628/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/1628/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/1628/events","html_url":"https://github.com/scala-js/scala-js/issues/1628","id":72426178,"number":1628,"title":"An object literal with duplicate keys that must be unnested crashes desugaring","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"},{"url":"https://api.github.com/repos/scala-js/scala-js/labels/has-pr","name":"has-pr","color":"009800"}],"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/29","html_url":"https://github.com/scala-js/scala-js/milestones/v0.6.3","labels_url":"https://api.github.com/repos/scala-js/scala-js/milestones/29/labels","id":1023204,"number":29,"title":"v0.6.3","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":4,"closed_issues":28,"state":"open","created_at":"2015-03-16T12:20:21Z","updated_at":"2015-05-01T14:25:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-01T12:43:34Z","updated_at":"2015-05-01T14:25:06Z","closed_at":"2015-05-01T14:25:06Z","body":"This crashes `JSDesugaring`:\r\n```scala\r\ntest(literal(foo = 4, bar = 5, foo = 6))\r\n```\r\nNote that the literal contains duplicate keys, and is an argument position, so it must be unnested."}}