{"action":"opened","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/372","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/372/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/372/events","html_url":"https://github.com/lampepfl/dotty/issues/372","id":58075306,"number":372,"title":"Erasure incorrectly errases this.type in return types.","user":{"login":"DarkDimius","id":1084930,"avatar_url":"https://avatars.githubusercontent.com/u/1084930?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDimius","html_url":"https://github.com/DarkDimius","followers_url":"https://api.github.com/users/DarkDimius/followers","following_url":"https://api.github.com/users/DarkDimius/following{/other_user}","gists_url":"https://api.github.com/users/DarkDimius/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDimius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDimius/subscriptions","organizations_url":"https://api.github.com/users/DarkDimius/orgs","repos_url":"https://api.github.com/users/DarkDimius/repos","events_url":"https://api.github.com/users/DarkDimius/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDimius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T14:38:16Z","updated_at":"2015-02-18T14:38:16Z","closed_at":null,"body":"Looses precision by widening method type.\r\nEg returned value on line \r\nhttps://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/typer/Applications.scala#L628\r\nbefore erasure has type Tree, but after erasure has type Positioned, that no longer conforms to method return type(and fails in backend)."}}