{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/3293","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3293/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3293/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3293/events","html_url":"https://github.com/elixir-lang/elixir/issues/3293","id":71305009,"number":3293,"title":"TokenMissingError: missing terminator: end (for \"do\" starting at line 1)","user":{"login":"handnot2","id":7528885,"avatar_url":"https://avatars.githubusercontent.com/u/7528885?v=3","gravatar_id":"","url":"https://api.github.com/users/handnot2","html_url":"https://github.com/handnot2","followers_url":"https://api.github.com/users/handnot2/followers","following_url":"https://api.github.com/users/handnot2/following{/other_user}","gists_url":"https://api.github.com/users/handnot2/gists{/gist_id}","starred_url":"https://api.github.com/users/handnot2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handnot2/subscriptions","organizations_url":"https://api.github.com/users/handnot2/orgs","repos_url":"https://api.github.com/users/handnot2/repos","events_url":"https://api.github.com/users/handnot2/events{/privacy}","received_events_url":"https://api.github.com/users/handnot2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T14:46:51Z","updated_at":"2015-04-27T17:16:52Z","closed_at":null,"body":"erlang/17.5, elixir/1.0.4\r\n\r\ndefmodule X do\r\n  def f(), do; nil\r\nend\r\n\r\nThe compilation error is correct. But it would be very helpful to get a bit more help from the compiler pointing that a semicolon after \"do\" is the culprit. It is not easy to visually identify this especially when the file is bigger than a few lines!"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/96745924","html_url":"https://github.com/elixir-lang/elixir/issues/3293#issuecomment-96745924","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3293","id":96745924,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T17:16:52Z","updated_at":"2015-04-27T17:16:52Z","body":"This could be improved by making the tokenizer not check for termination do tokens that immediately follow a comma."}}