{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5260","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5260/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5260/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5260/events","html_url":"https://github.com/facebook/hhvm/issues/5260","id":73682986,"number":5260,"title":"Null coalesce operator does not work when used on multi-lines","user":{"login":"milesj","id":143744,"avatar_url":"https://avatars.githubusercontent.com/u/143744?v=3","gravatar_id":"","url":"https://api.github.com/users/milesj","html_url":"https://github.com/milesj","followers_url":"https://api.github.com/users/milesj/followers","following_url":"https://api.github.com/users/milesj/following{/other_user}","gists_url":"https://api.github.com/users/milesj/gists{/gist_id}","starred_url":"https://api.github.com/users/milesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesj/subscriptions","organizations_url":"https://api.github.com/users/milesj/orgs","repos_url":"https://api.github.com/users/milesj/repos","events_url":"https://api.github.com/users/milesj/events{/privacy}","received_events_url":"https://api.github.com/users/milesj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-06T17:22:32Z","updated_at":"2015-05-07T06:34:22Z","closed_at":null,"body":"As seen here: http://3v4l.org/eYNFI\r\n\r\nThese work:\r\n\r\n```hack\r\n$foo = new Foo();\r\n$foo->getBar()?->noop();\r\n\r\n$foo = new Foo();\r\n$foo->getBar()\r\n    ?->noop();\r\n```\r\n\r\nThis one doesn't:\r\n\r\n```hack\r\n$foo = new Foo();\r\n$foo->getBar()?\r\n    ->noop();\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/99738740","html_url":"https://github.com/facebook/hhvm/issues/5260#issuecomment-99738740","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/5260","id":99738740,"user":{"login":"jwatzman","id":575697,"avatar_url":"https://avatars.githubusercontent.com/u/575697?v=3","gravatar_id":"","url":"https://api.github.com/users/jwatzman","html_url":"https://github.com/jwatzman","followers_url":"https://api.github.com/users/jwatzman/followers","following_url":"https://api.github.com/users/jwatzman/following{/other_user}","gists_url":"https://api.github.com/users/jwatzman/gists{/gist_id}","starred_url":"https://api.github.com/users/jwatzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwatzman/subscriptions","organizations_url":"https://api.github.com/users/jwatzman/orgs","repos_url":"https://api.github.com/users/jwatzman/repos","events_url":"https://api.github.com/users/jwatzman/events{/privacy}","received_events_url":"https://api.github.com/users/jwatzman/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T06:34:22Z","updated_at":"2015-05-07T06:34:22Z","body":"Ah yeah, I think this is the right behavior. (Sorry, I was the one that told you to file this bug, I must have misread your example.) We might be able to give a better error message here, but it's probably not worth the effort. @paulbiss we should prob just close this?"}}