{"action":"created","issue":{"url":"https://api.github.com/repos/google/traceur-compiler/issues/1808","labels_url":"https://api.github.com/repos/google/traceur-compiler/issues/1808/labels{/name}","comments_url":"https://api.github.com/repos/google/traceur-compiler/issues/1808/comments","events_url":"https://api.github.com/repos/google/traceur-compiler/issues/1808/events","html_url":"https://github.com/google/traceur-compiler/pull/1808","id":60541342,"number":1808,"title":"Fix ASI with multiline comments","user":{"login":"arv","id":45845,"avatar_url":"https://avatars.githubusercontent.com/u/45845?v=3","gravatar_id":"","url":"https://api.github.com/users/arv","html_url":"https://github.com/arv","followers_url":"https://api.github.com/users/arv/followers","following_url":"https://api.github.com/users/arv/following{/other_user}","gists_url":"https://api.github.com/users/arv/gists{/gist_id}","starred_url":"https://api.github.com/users/arv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arv/subscriptions","organizations_url":"https://api.github.com/users/arv/orgs","repos_url":"https://api.github.com/users/arv/repos","events_url":"https://api.github.com/users/arv/events{/privacy}","received_events_url":"https://api.github.com/users/arv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/traceur-compiler/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"johnjbarton","id":205570,"avatar_url":"https://avatars.githubusercontent.com/u/205570?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjbarton","html_url":"https://github.com/johnjbarton","followers_url":"https://api.github.com/users/johnjbarton/followers","following_url":"https://api.github.com/users/johnjbarton/following{/other_user}","gists_url":"https://api.github.com/users/johnjbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjbarton/subscriptions","organizations_url":"https://api.github.com/users/johnjbarton/orgs","repos_url":"https://api.github.com/users/johnjbarton/repos","events_url":"https://api.github.com/users/johnjbarton/events{/privacy}","received_events_url":"https://api.github.com/users/johnjbarton/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-10T17:56:11Z","updated_at":"2015-03-10T22:06:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/traceur-compiler/pulls/1808","html_url":"https://github.com/google/traceur-compiler/pull/1808","diff_url":"https://github.com/google/traceur-compiler/pull/1808.diff","patch_url":"https://github.com/google/traceur-compiler/pull/1808.patch"},"body":"A multiline comment is treated as a new line for ASI when it\r\ncontains a new line.\r\n\r\nFixes #1803"},"comment":{"url":"https://api.github.com/repos/google/traceur-compiler/issues/comments/78158962","html_url":"https://github.com/google/traceur-compiler/pull/1808#issuecomment-78158962","issue_url":"https://api.github.com/repos/google/traceur-compiler/issues/1808","id":78158962,"user":{"login":"caitp","id":2294695,"avatar_url":"https://avatars.githubusercontent.com/u/2294695?v=3","gravatar_id":"","url":"https://api.github.com/users/caitp","html_url":"https://github.com/caitp","followers_url":"https://api.github.com/users/caitp/followers","following_url":"https://api.github.com/users/caitp/following{/other_user}","gists_url":"https://api.github.com/users/caitp/gists{/gist_id}","starred_url":"https://api.github.com/users/caitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caitp/subscriptions","organizations_url":"https://api.github.com/users/caitp/orgs","repos_url":"https://api.github.com/users/caitp/repos","events_url":"https://api.github.com/users/caitp/events{/privacy}","received_events_url":"https://api.github.com/users/caitp/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T22:06:29Z","updated_at":"2015-03-10T22:06:29Z","body":"Right, but wouldn't it make sense to track (either in the scanner, or in the token itself), whether skipping whitespace or comments found a newline or not? That way you could avoid re-scanning stuff you've already seen"}}