{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/4724","labels_url":"https://api.github.com/repos/scala/scala/issues/4724/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/4724/comments","events_url":"https://api.github.com/repos/scala/scala/issues/4724/events","html_url":"https://github.com/scala/scala/pull/4724","id":104381528,"number":4724,"title":"Try harder to avoid reporting unpositioned errors","user":{"login":"retronym","id":65551,"avatar_url":"https://avatars.githubusercontent.com/u/65551?v=3","gravatar_id":"","url":"https://api.github.com/users/retronym","html_url":"https://github.com/retronym","followers_url":"https://api.github.com/users/retronym/followers","following_url":"https://api.github.com/users/retronym/following{/other_user}","gists_url":"https://api.github.com/users/retronym/gists{/gist_id}","starred_url":"https://api.github.com/users/retronym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retronym/subscriptions","organizations_url":"https://api.github.com/users/retronym/orgs","repos_url":"https://api.github.com/users/retronym/repos","events_url":"https://api.github.com/users/retronym/events{/privacy}","received_events_url":"https://api.github.com/users/retronym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/49","html_url":"https://github.com/scala/scala/milestones/2.11.8","labels_url":"https://api.github.com/repos/scala/scala/milestones/49/labels","id":1169165,"number":49,"title":"2.11.8","description":"Merge to 2.11.x.\r\n","creator":{"login":"SethTisue","id":161079,"avatar_url":"https://avatars.githubusercontent.com/u/161079?v=3","gravatar_id":"","url":"https://api.github.com/users/SethTisue","html_url":"https://github.com/SethTisue","followers_url":"https://api.github.com/users/SethTisue/followers","following_url":"https://api.github.com/users/SethTisue/following{/other_user}","gists_url":"https://api.github.com/users/SethTisue/gists{/gist_id}","starred_url":"https://api.github.com/users/SethTisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethTisue/subscriptions","organizations_url":"https://api.github.com/users/SethTisue/orgs","repos_url":"https://api.github.com/users/SethTisue/repos","events_url":"https://api.github.com/users/SethTisue/events{/privacy}","received_events_url":"https://api.github.com/users/SethTisue/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":97,"state":"open","created_at":"2015-06-17T19:08:28Z","updated_at":"2015-09-18T09:50:55Z","due_on":"2015-10-25T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-02T00:36:14Z","updated_at":"2015-09-18T12:51:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/4724","html_url":"https://github.com/scala/scala/pull/4724","diff_url":"https://github.com/scala/scala/pull/4724.diff","patch_url":"https://github.com/scala/scala/pull/4724.patch"},"body":"Rather than issuing an error at NoPosition, which usually means\nan unpositioned tree is being typechecked, walk up the context\nchain for an enclosing positioned tree.\n\nI've tested this manually with ensime which was getting an\nunpositioned warning as a result of a unpositioned trees created\nby a macro in scalatest.\n\n```\n% ../scala-positioned-error/build/quick/bin/scalac  @args.txt\n/Users/jason/code/ensime-server/core/src/it/scala/org/ensime/core/RichPresentationCompilerSpec.scala:216: warning: implicit numeric widening\n    ) { (p, cc) =>\n                ^\n```"},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/141443476","html_url":"https://github.com/scala/scala/pull/4724#issuecomment-141443476","issue_url":"https://api.github.com/repos/scala/scala/issues/4724","id":141443476,"user":{"login":"lrytz","id":119636,"avatar_url":"https://avatars.githubusercontent.com/u/119636?v=3","gravatar_id":"","url":"https://api.github.com/users/lrytz","html_url":"https://github.com/lrytz","followers_url":"https://api.github.com/users/lrytz/followers","following_url":"https://api.github.com/users/lrytz/following{/other_user}","gists_url":"https://api.github.com/users/lrytz/gists{/gist_id}","starred_url":"https://api.github.com/users/lrytz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrytz/subscriptions","organizations_url":"https://api.github.com/users/lrytz/orgs","repos_url":"https://api.github.com/users/lrytz/repos","events_url":"https://api.github.com/users/lrytz/events{/privacy}","received_events_url":"https://api.github.com/users/lrytz/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T12:51:31Z","updated_at":"2015-09-18T12:51:31Z","body":"LGTM"}}