adambeynon/opal — Issue #90: Compiles return to a method call when using `rescue Exception => e`
Author: meh
Created: 2012-01-22 19:58:51+00:00
State: open
Labels: bug

```ruby
def self.engine
return `/MSIE|WebKit|Presto|Gecko/.exec(navigator.userAgent)[0]`.downcase.to_sym
rescue Exception => e
return :unknown
end
```

`e = $err;$return("unknown")}`