{"action":"opened","issue":{"url":"https://api.github.com/repos/janestreet/sexplib/issues/23","repository_url":"https://api.github.com/repos/janestreet/sexplib","labels_url":"https://api.github.com/repos/janestreet/sexplib/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/janestreet/sexplib/issues/23/comments","events_url":"https://api.github.com/repos/janestreet/sexplib/issues/23/events","html_url":"https://github.com/janestreet/sexplib/issues/23","id":159650231,"number":23,"title":"Improve error reporting for incorrect sum tags.","user":{"login":"ejgallego","id":7192257,"avatar_url":"https://avatars.githubusercontent.com/u/7192257?v=3","gravatar_id":"","url":"https://api.github.com/users/ejgallego","html_url":"https://github.com/ejgallego","followers_url":"https://api.github.com/users/ejgallego/followers","following_url":"https://api.github.com/users/ejgallego/following{/other_user}","gists_url":"https://api.github.com/users/ejgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/ejgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejgallego/subscriptions","organizations_url":"https://api.github.com/users/ejgallego/orgs","repos_url":"https://api.github.com/users/ejgallego/repos","events_url":"https://api.github.com/users/ejgallego/events{/privacy}","received_events_url":"https://api.github.com/users/ejgallego/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-10T14:40:02Z","updated_at":"2016-06-10T14:40:02Z","closed_at":null,"body":"Dear sexplib developers,\r\n\r\nI am using sexplib for interactive use, and it would be great to improve the error messages for incorrect sum types to include the alternative tags.\r\n\r\nA possibility is to extend the function `conv_error.ml:unexpected_stag` to include an optional list of valid tags. Once that is done `ppx_sexp_conv` could provide this information.\r\n\r\nDo you think this could make sense? I can provide a patch (in the public domain) if you think that would make a useful improvement.\r\n\r\nBest regards, E."}}
{"actor":{"display_login":"ejgallego"}}