{"action":"closed","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/434","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/434/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/434/events","html_url":"https://github.com/lampepfl/dotty/issues/434","id":64541427,"number":434,"title":"unapply for case classes is broken","user":{"login":"smarter","id":63430,"avatar_url":"https://avatars.githubusercontent.com/u/63430?v=3","gravatar_id":"","url":"https://api.github.com/users/smarter","html_url":"https://github.com/smarter","followers_url":"https://api.github.com/users/smarter/followers","following_url":"https://api.github.com/users/smarter/following{/other_user}","gists_url":"https://api.github.com/users/smarter/gists{/gist_id}","starred_url":"https://api.github.com/users/smarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarter/subscriptions","organizations_url":"https://api.github.com/users/smarter/orgs","repos_url":"https://api.github.com/users/smarter/repos","events_url":"https://api.github.com/users/smarter/events{/privacy}","received_events_url":"https://api.github.com/users/smarter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lampepfl/dotty/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T14:32:37Z","updated_at":"2015-03-26T15:01:43Z","closed_at":"2015-03-26T15:01:43Z","body":"The following code:\r\n```scala\r\ncase class A(x: Int)\r\n```\r\nProduces the following `unapply` method after frontend:\r\n```scala\r\ndef unapply(x$1: A): A = x$1\r\n```\r\nWhich is obviously not what you want unapply to do."}}