{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/3344","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3344/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3344/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3344/events","html_url":"https://github.com/crystal-lang/crystal/pull/3344","id":179058637,"number":3344,"title":"allow calling raise without arguments","user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-24T23:57:27Z","updated_at":"2016-09-25T16:25:29Z","closed_at":"2016-09-25T16:09:25Z","pull_request":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3344","html_url":"https://github.com/crystal-lang/crystal/pull/3344","diff_url":"https://github.com/crystal-lang/crystal/pull/3344.diff","patch_url":"https://github.com/crystal-lang/crystal/pull/3344.patch"},"body":"sometimes I just want to `raise` to stop execution or do something stupid / debug ... would be nice if that worked\r\n\r\n... not sure about the test location ... and was unable to run with 0.19.2 \r\n```\r\nbin/crystal spec spec/std/exception_spec.cr\r\ncc: error: /app/src/ext/libcrystal.a: No such file or directory\r\nError: execution of command failed with code: 1: `cc -o \"/root/.cache/crystal/crystal-run-spec.tmp\" \"${@}\"  -rdynamic  -lxml2 -lpcre -lm -lgc -lpthread /app/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`\r\n```"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/249431056","html_url":"https://github.com/crystal-lang/crystal/pull/3344#issuecomment-249431056","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3344","id":249431056,"user":{"login":"yxhuvud","id":155895,"avatar_url":"https://avatars.githubusercontent.com/u/155895?v=3","gravatar_id":"","url":"https://api.github.com/users/yxhuvud","html_url":"https://github.com/yxhuvud","followers_url":"https://api.github.com/users/yxhuvud/followers","following_url":"https://api.github.com/users/yxhuvud/following{/other_user}","gists_url":"https://api.github.com/users/yxhuvud/gists{/gist_id}","starred_url":"https://api.github.com/users/yxhuvud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yxhuvud/subscriptions","organizations_url":"https://api.github.com/users/yxhuvud/orgs","repos_url":"https://api.github.com/users/yxhuvud/repos","events_url":"https://api.github.com/users/yxhuvud/events{/privacy}","received_events_url":"https://api.github.com/users/yxhuvud/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T16:25:29Z","updated_at":"2016-09-25T16:25:29Z","body":"One approach would be to take the Ruby route and allow raises without arguments both inside and outside exception handlers, but with different behaviours - raise outside simply raises, whereas inside it will default to the exception being handled."}}
{"actor":{"display_login":"yxhuvud"}}