diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 19:11:47 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 19:11:47 +0000 |
commit | 9bd9e001adff0e83ad4646cbd9ed51cc6dc391a9 (patch) | |
tree | 28e6968f01b549506f1a8add94f985528fd156a3 /iseq.c | |
parent | 8cb2f9c705e05db01ce998233d1e8e0ae7feb749 (diff) | |
download | ruby-9bd9e001adff0e83ad4646cbd9ed51cc6dc391a9.tar.gz |
* iseq.c (exception_type2symbol): show correct bug message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1623,7 +1623,7 @@ exception_type2symbol(VALUE type) case CATCH_TYPE_REDO: CONST_ID(id, "redo"); break; case CATCH_TYPE_NEXT: CONST_ID(id, "next"); break; default: - rb_bug("..."); + rb_bug("exception_type2symbol: unknown type %d", (int)type); } return ID2SYM(id); } |