adambeynon/opal — Issue #89: Bug in parsing return value in rescue
Author: meh
Created: 2012-01-22 19:55:58+00:00
State: open
Labels: bug, parser

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

ParseError:
parse error on value ":" (SYMBOL_BEG) in (irb):1