{"action":"opened","issue":{"url":"https://api.github.com/repos/brownplt/pyret-lang/issues/477","labels_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/477/comments","events_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/477/events","html_url":"https://github.com/brownplt/pyret-lang/issues/477","id":64343047,"number":477,"title":"bad error message","user":{"login":"shriram","id":75030,"avatar_url":"https://avatars.githubusercontent.com/u/75030?v=3","gravatar_id":"","url":"https://api.github.com/users/shriram","html_url":"https://github.com/shriram","followers_url":"https://api.github.com/users/shriram/followers","following_url":"https://api.github.com/users/shriram/following{/other_user}","gists_url":"https://api.github.com/users/shriram/gists{/gist_id}","starred_url":"https://api.github.com/users/shriram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shriram/subscriptions","organizations_url":"https://api.github.com/users/shriram/orgs","repos_url":"https://api.github.com/users/shriram/repos","events_url":"https://api.github.com/users/shriram/events{/privacy}","received_events_url":"https://api.github.com/users/shriram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T18:38:37Z","updated_at":"2015-03-25T18:38:37Z","closed_at":null,"body":"````\r\ndata Auto:\r\n    Auto(x)\r\nend\r\n````\r\n\r\n1. This prints two errors.\r\n\r\n2. The real problem is that `Auto` is defined twice. However, this is the _second_ error. The first error is about `is-Auto`, which is the thing students are least likely to encounter.\r\n\r\n3. Can we have a better error that just says \"you've got the same name for a type and its constructor\"?"}}