{"action":"created","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1271","labels_url":"https://api.github.com/repos/opal/opal/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1271/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1271/events","html_url":"https://github.com/opal/opal/issues/1271","id":124998517,"number":1271,"title":"Exception instead of NoMethodError when method is missing","user":{"login":"iliabylich","id":1265492,"avatar_url":"https://avatars.githubusercontent.com/u/1265492?v=3","gravatar_id":"","url":"https://api.github.com/users/iliabylich","html_url":"https://github.com/iliabylich","followers_url":"https://api.github.com/users/iliabylich/followers","following_url":"https://api.github.com/users/iliabylich/following{/other_user}","gists_url":"https://api.github.com/users/iliabylich/gists{/gist_id}","starred_url":"https://api.github.com/users/iliabylich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliabylich/subscriptions","organizations_url":"https://api.github.com/users/iliabylich/orgs","repos_url":"https://api.github.com/users/iliabylich/repos","events_url":"https://api.github.com/users/iliabylich/events{/privacy}","received_events_url":"https://api.github.com/users/iliabylich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T16:18:19Z","updated_at":"2016-01-06T01:10:19Z","closed_at":"2016-01-06T01:10:19Z","body":"``` ruby\r\nbegin\r\n  1 <=> []\r\nrescue Exception => e\r\n  puts e.class\r\nend\r\n# MRI:\r\n# blank output (comparison returns nil)\r\n# Opal master\r\nException\r\n```\r\nDon't even know why CI is still green, I'm getting [this spec](https://github.com/ruby/rubyspec/blob/master/core/array/comparison_spec.rb#L76) failing locally (it invokes internally pretty much the same code, but it expects to catch a `StandardError`, that's why the spec fails for me).\r\n\r\nAnd it seems that that code was [ok](http://opalrb.org/try/?code:begin%0A%20%201%20%3C%3D%3E%20%5B%5D%0Arescue%20Exception%20%3D%3E%20e%0A%20%20puts%20e.class%0Aend) before (on 0.8), so it looks like a regression.\r\n\r\nLooks like in this case Opal doesn't generate method missing stubs correctly."},"comment":{"url":"https://api.github.com/repos/opal/opal/issues/comments/169186372","html_url":"https://github.com/opal/opal/issues/1271#issuecomment-169186372","issue_url":"https://api.github.com/repos/opal/opal/issues/1271","id":169186372,"user":{"login":"elia","id":1051,"avatar_url":"https://avatars.githubusercontent.com/u/1051?v=3","gravatar_id":"","url":"https://api.github.com/users/elia","html_url":"https://github.com/elia","followers_url":"https://api.github.com/users/elia/followers","following_url":"https://api.github.com/users/elia/following{/other_user}","gists_url":"https://api.github.com/users/elia/gists{/gist_id}","starred_url":"https://api.github.com/users/elia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elia/subscriptions","organizations_url":"https://api.github.com/users/elia/orgs","repos_url":"https://api.github.com/users/elia/repos","events_url":"https://api.github.com/users/elia/events{/privacy}","received_events_url":"https://api.github.com/users/elia/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T01:10:19Z","updated_at":"2016-01-06T01:10:19Z","body":"Closed by #1273"}}