{"action":"created","issue":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/755","labels_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/755/comments","events_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/755/events","html_url":"https://github.com/mishoo/UglifyJS2/issues/755","id":97958051,"number":755,"title":"semicolon removed when  required","user":{"login":"mogadanez","id":790307,"avatar_url":"https://avatars.githubusercontent.com/u/790307?v=3","gravatar_id":"","url":"https://api.github.com/users/mogadanez","html_url":"https://github.com/mogadanez","followers_url":"https://api.github.com/users/mogadanez/followers","following_url":"https://api.github.com/users/mogadanez/following{/other_user}","gists_url":"https://api.github.com/users/mogadanez/gists{/gist_id}","starred_url":"https://api.github.com/users/mogadanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogadanez/subscriptions","organizations_url":"https://api.github.com/users/mogadanez/orgs","repos_url":"https://api.github.com/users/mogadanez/repos","events_url":"https://api.github.com/users/mogadanez/events{/privacy}","received_events_url":"https://api.github.com/users/mogadanez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-29T15:06:22Z","updated_at":"2015-07-29T16:01:46Z","closed_at":null,"body":"input:\r\n```\r\nvar a =  1 ? null : null:someObj; \r\n(a||defaultObj).some()\r\n```\r\ncommand: \r\n```\r\nuglifyjs 1.js -b beautify=false,semicolons=false,max-line-len=15\r\n```\r\noutput:\r\n```\r\nvar a=1?null:someObj\r\n(a||defaultObj).some()\r\n```\r\nsemicolon missed, and  second line is continue of first line expression, so  result expression is same as `var a=1?null:null:someObj(a||defaultObj).some()`  and `some` method never be called\r\n\r\n`max-line-len=15` is  important, it should be less that first line length to reproduce\r\n\r\nintroduced in version 2.4.17\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/comments/125999545","html_url":"https://github.com/mishoo/UglifyJS2/issues/755#issuecomment-125999545","issue_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/755","id":125999545,"user":{"login":"rvanvelzen","id":102603,"avatar_url":"https://avatars.githubusercontent.com/u/102603?v=3","gravatar_id":"","url":"https://api.github.com/users/rvanvelzen","html_url":"https://github.com/rvanvelzen","followers_url":"https://api.github.com/users/rvanvelzen/followers","following_url":"https://api.github.com/users/rvanvelzen/following{/other_user}","gists_url":"https://api.github.com/users/rvanvelzen/gists{/gist_id}","starred_url":"https://api.github.com/users/rvanvelzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvanvelzen/subscriptions","organizations_url":"https://api.github.com/users/rvanvelzen/orgs","repos_url":"https://api.github.com/users/rvanvelzen/repos","events_url":"https://api.github.com/users/rvanvelzen/events{/privacy}","received_events_url":"https://api.github.com/users/rvanvelzen/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T16:01:46Z","updated_at":"2015-07-29T16:01:46Z","body":"The fix produces slightly larger files (building UglifyJS2 itself, it adds about 30 bytes) but I prefer that over generating bad code."}}