{"action":"created","issue":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/458","labels_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/458/comments","events_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/458/events","html_url":"https://github.com/CausalityLtd/ponyc/pull/458","id":124972097,"number":458,"title":"Better error message for missing ref","user":{"login":"Andrea","id":3103,"avatar_url":"https://avatars.githubusercontent.com/u/3103?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrea","html_url":"https://github.com/Andrea","followers_url":"https://api.github.com/users/Andrea/followers","following_url":"https://api.github.com/users/Andrea/following{/other_user}","gists_url":"https://api.github.com/users/Andrea/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrea/subscriptions","organizations_url":"https://api.github.com/users/Andrea/orgs","repos_url":"https://api.github.com/users/Andrea/repos","events_url":"https://api.github.com/users/Andrea/events{/privacy}","received_events_url":"https://api.github.com/users/Andrea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-05T13:56:41Z","updated_at":"2016-01-05T21:03:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/pulls/458","html_url":"https://github.com/CausalityLtd/ponyc/pull/458","diff_url":"https://github.com/CausalityLtd/ponyc/pull/458.diff","patch_url":"https://github.com/CausalityLtd/ponyc/pull/458.patch"},"body":"I am just playing with the language at the moment and I was surprised by the  error message I got (until I wen to read the docs) \r\nI thought a better error message might help. Perhaps the message could be even more descriptive or specific? "},"comment":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/comments/169133436","html_url":"https://github.com/CausalityLtd/ponyc/pull/458#issuecomment-169133436","issue_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/458","id":169133436,"user":{"login":"Andrea","id":3103,"avatar_url":"https://avatars.githubusercontent.com/u/3103?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrea","html_url":"https://github.com/Andrea","followers_url":"https://api.github.com/users/Andrea/followers","following_url":"https://api.github.com/users/Andrea/following{/other_user}","gists_url":"https://api.github.com/users/Andrea/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrea/subscriptions","organizations_url":"https://api.github.com/users/Andrea/orgs","repos_url":"https://api.github.com/users/Andrea/repos","events_url":"https://api.github.com/users/Andrea/events{/privacy}","received_events_url":"https://api.github.com/users/Andrea/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T21:03:48Z","updated_at":"2016-01-05T21:03:48Z","body":"yes, that would be much better, I pushed the change to the pr :D\n\n\nAndrea\nwww.roundcrisis.com\n\nOn 5 January 2016 at 17:16, andymcn <notifications@github.com> wrote:\n\n> Thanks, better error messages are always needed.\n>\n> However, I'm not quite sure of the wording you've used here. In particular\n> \"trying to use references\" seems wrong, possibly because the term\n> \"references\" is sometimes used in a more general sense to refer to any\n> capability, rather than just \"ref\".\n>\n> An alternative might be \"changing state\". Does that make the message\n> meaning clear?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/CausalityLtd/ponyc/pull/458#issuecomment-169067627>.\n>\n"}}