Commit 80965fe2 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Fix message of `ThrowCatchJump` in `mruby-catch` gem

### Example

```ruby
begin
  throw 1
rescue Exception => e
  puts e.message
end
```

#### Before this patch:

```console
$ bin/mruby example.rb
uncaught throw :1
```
#### After this patch (same as Ruby):

```console
$ bin/mruby example.rb
uncaught throw 1
```
parent 043fe9d9
......@@ -2,7 +2,7 @@ class ThrowCatchJump < Exception
def initialize(tag, val)
@tag = tag
@val = val
super("uncaught throw :#{tag}")
super("uncaught throw #{tag.inspect}")
end
def _tag
@tag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment